[PATCH v2 03/30] ide: Drop CONFIG_START_IDE
Simon Glass
sjg at chromium.org
Tue Apr 25 18:54:28 CEST 2023
This is not used by any board. Drop it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
common/board_r.c | 5 -----
include/ide.h | 7 -------
2 files changed, 12 deletions(-)
diff --git a/common/board_r.c b/common/board_r.c
index 6b4180b3ecd..7076af64f5d 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 58f6640c61b..9c0d40364a8 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 */
--
2.40.0.634.g4ca3ef3211-goog
More information about the U-Boot
mailing list