From: Simon Glass <sjg@chromium.org>
Date: Tue, 25 Apr 2023 16:54:28 +0000 (-0600)
Subject: ide: Drop CONFIG_START_IDE
X-Git-Tag: v2025.01-rc5-pxa1908~1026^2~27
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B?a=commitdiff_plain;h=091785110031efe1f417a727ac7db68f2beb3116;p=u-boot.git

ide: Drop CONFIG_START_IDE

This is not used by any board. Drop it.

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

diff --git a/common/board_r.c b/common/board_r.c
index 6b4180b3ec..7076af64f5 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 58f6640c61..9c0d40364a 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 */