]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ide: Drop CONFIG_START_IDE
authorSimon Glass <sjg@chromium.org>
Tue, 25 Apr 2023 16:54:28 +0000 (10:54 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 17:51:06 +0000 (13:51 -0400)
This is not used by any board. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_r.c
include/ide.h

index 6b4180b3ecde78140863c512d5135ce2ca3c430d..7076af64f5dece2a2a0e43458b8570b012aacb52 100644 (file)
@@ -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
index 58f6640c61be5351a89a326882aa9d6645be4c14..9c0d40364a8f8c238b8461467dd6ce79b7f7ce0d 100644 (file)
@@ -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 */