]> git.sur5r.net Git - u-boot/commitdiff
block: ide: Drop CONFIG_IDE_INIT_POSTRESET
authorBin Meng <bmeng.cn@gmail.com>
Sat, 2 Sep 2017 15:43:52 +0000 (08:43 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 3 Sep 2017 19:30:34 +0000 (15:30 -0400)
This is not referenced anywhere. Drop it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/block/ide.c
include/ide.h
scripts/config_whitelist.txt

index edcf87b8c14b6a1ad7e15b9c629c353d22d29a2b..cea0397eb23e4ebbfacb86f4866733fae2912f99 100644 (file)
@@ -792,15 +792,6 @@ void ide_init(void)
        /* ATAPI Drives seems to need a proper IDE Reset */
        ide_reset();
 
-#ifdef CONFIG_IDE_INIT_POSTRESET
-       WATCHDOG_RESET();
-
-       if (ide_init_postreset()) {
-               puts("ide_preinit_postreset failed\n");
-               return;
-       }
-#endif /* CONFIG_IDE_INIT_POSTRESET */
-
        /*
         * Wait for IDE to get ready.
         * According to spec, this can take up to 31 seconds!
index 9b0a4a96fa5d64a5598e498aa2bd7b649004fdb6..a4be763804cd4a431d33abad9f28e7d46c3aeed9 100644 (file)
@@ -51,10 +51,6 @@ ulong ide_write(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt,
 int ide_preinit(void);
 #endif
 
-#ifdef CONFIG_IDE_INIT_POSTRESET
-int ide_init_postreset(void);
-#endif
-
 #if defined(CONFIG_OF_IDE_FIXUP)
 int ide_device_present(int dev);
 #endif
index 84dc5c99c64f8df6b8bc29de24594078a02b09d9..440f7403cd3c97818874fcc593f5371b985dd719 100644 (file)
@@ -1080,7 +1080,6 @@ CONFIG_I2C_RTC_ADDR
 CONFIG_I2C_TIMEOUT
 CONFIG_ICACHE
 CONFIG_ICS307_REFCLK_HZ
-CONFIG_IDE_INIT_POSTRESET
 CONFIG_IDE_LED
 CONFIG_IDE_PCMCIA
 CONFIG_IDE_PREINIT