diff options
| author | Tom Rini <[email protected]> | 2022-06-10 22:59:30 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-06-28 17:03:32 -0400 |
| commit | 713a8cbb94896350b047c590d0246c1d1fe1400f (patch) | |
| tree | 7b1c1503a38d02cd9e3a2e2a837444aa3a6fcf05 /include | |
| parent | 9836c433094ebbd8e4d06152d09b9a72013d7772 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/M5253DEMO.h | 5 | ||||
| -rw-r--r-- | include/ide.h | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h index 384217a0d98..840d3b4672e 100644 --- a/include/configs/M5253DEMO.h +++ b/include/configs/M5253DEMO.h @@ -19,11 +19,6 @@ . = DEFINED(env_offset) ? env_offset : .; \ env/embedded.o(.text*); -#ifdef CONFIG_IDE -/* ATA */ -# define CONFIG_IDE_PREINIT 1 -#endif - #ifdef CONFIG_DRIVER_DM9000 # define CONFIG_DM9000_BASE (CONFIG_SYS_CS1_BASE | 0x300) # define DM9000_IO CONFIG_DM9000_BASE diff --git a/include/ide.h b/include/ide.h index 2994b7a7622..426cef4e39e 100644 --- a/include/ide.h +++ b/include/ide.h @@ -33,10 +33,6 @@ ulong ide_write(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt, const void *buffer); #endif -#ifdef CONFIG_IDE_PREINIT -int ide_preinit(void); -#endif - #if defined(CONFIG_OF_IDE_FIXUP) int ide_device_present(int dev); #endif |
