diff mbox series

[03/30] ide: Drop CONFIG_START_IDE

Message ID 20230328080702.3.If27cd09c62f628a54f22cc501388bbd1dd001f19@changeid
State Changes Requested
Delegated to: Tom Rini
Headers show
Series ide: Clean up code and fix a few bugs | expand

Commit Message

Simon Glass March 27, 2023, 7:06 p.m. UTC
This is not used by any board. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 common/board_r.c | 5 -----
 include/ide.h    | 7 -------
 2 files changed, 12 deletions(-)
diff mbox series

Patch

diff --git a/common/board_r.c b/common/board_r.c
index 6b4180b3ecde..7076af64f5de 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -523,12 +523,7 @@  static int initr_post(void)
 static int initr_ide(void)
 {
 	puts("IDE:   ");
-#if defined(CONFIG_START_IDE)
-	if (board_start_ide())
-		ide_init();
-#else
 	ide_init();
-#endif
 	return 0;
 }
 #endif
diff --git a/include/ide.h b/include/ide.h
index 58f6640c61be..9c0d40364a8f 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -47,11 +47,4 @@  void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts);
 
 void ide_led(uchar led, uchar status);
 
-/**
- * board_start_ide() - Start up the board IDE interfac
- *
- * Return: 0 if ok
- */
-int board_start_ide(void);
-
 #endif /* _IDE_H */