diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-09-02 08:43:52 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-03 15:30:34 -0400 |
commit | f1823d3aaa72cff4f6e979e3c4e4362c3ccc0751 (patch) | |
tree | a887af66bb62d5053a2d9eeb178d6be9a7addb5d | |
parent | 9e18eae2760d20f04f97ce190036e0c6ee67e43d (diff) |
block: ide: Drop CONFIG_IDE_INIT_POSTRESET
This is not referenced anywhere. Drop it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r-- | drivers/block/ide.c | 9 | ||||
-rw-r--r-- | include/ide.h | 4 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
3 files changed, 0 insertions, 14 deletions
diff --git a/drivers/block/ide.c b/drivers/block/ide.c index edcf87b8c1..cea0397eb2 100644 --- a/drivers/block/ide.c +++ b/drivers/block/ide.c @@ -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! diff --git a/include/ide.h b/include/ide.h index 9b0a4a96fa..a4be763804 100644 --- a/include/ide.h +++ b/include/ide.h @@ -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 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 84dc5c99c6..440f7403cd 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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 |