arm: add ide initialization
PATCH v2 1/1 arm: add ide initialization
Call ide_init() in the board initialization if IDE support is compiled in.
Signed-off-by Michael Walle <[email protected]>
---
changes in v2:
- style fix: remove whitespace before parenthesis
--- arch/arm/lib/board.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/lib/board.c +5 -0
@@ -596,6 +596,11 @@ void board_init_r(gd_t *id, ulong dest_addr)#endif #endif +#if defined(CONFIG_CMD_IDE ) +puts ("IDE: " ); +ide_init (); +#endif +#ifdef CONFIG_POST post_run (NULL ,POST_RAM |post_bootmode_get (0 ));#endif
Signature · 1 line
1.7.2.5