[PATCH 03/30] ide: Drop CONFIG_START_IDE
Simon Glass
sjg at chromium.org
Mon Mar 27 21:06:50 CEST 2023
This is not used by any board. Drop it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
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 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 */
--
2.40.0.348.gf938b09366-goog
More information about the U-Boot
mailing list