diff options
author | Tom Rini <trini@konsulko.com> | 2022-06-10 22:59:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-28 17:03:32 -0400 |
commit | 713a8cbb94896350b047c590d0246c1d1fe1400f (patch) | |
tree | 7b1c1503a38d02cd9e3a2e2a837444aa3a6fcf05 /drivers | |
parent | 9836c433094ebbd8e4d06152d09b9a72013d7772 (diff) | |
download | u-boot-713a8cbb94896350b047c590d0246c1d1fe1400f.tar.gz |
block: ide: Remove ide_preinit function
The only platform currently that defines an ide_preinit function has an
empty one that immediately returns. Remove this hook.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/ide.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/block/ide.c b/drivers/block/ide.c index e8518ff3a1..3270a9f032 100644 --- a/drivers/block/ide.c +++ b/drivers/block/ide.c @@ -695,15 +695,6 @@ void ide_init(void) unsigned char c; int i, bus; -#ifdef CONFIG_IDE_PREINIT - WATCHDOG_RESET(); - - if (ide_preinit()) { - puts("ide_preinit failed\n"); - return; - } -#endif /* CONFIG_IDE_PREINIT */ - WATCHDOG_RESET(); /* ATAPI Drives seems to need a proper IDE Reset */ |