diff mbox

[U-Boot,v2] arm: add ide initialization

Message ID 1318790399-16196-1-git-send-email-michael@walle.cc
State Rejected
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Michael Walle Oct. 16, 2011, 6:39 p.m. UTC
Call ide_init() in the board initialization if IDE support is compiled in.

Signed-off-by: Michael Walle <michael@walle.cc>
---
changes in v2:
 - style fix: remove whitespace before parenthesis
---
 arch/arm/lib/board.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 705d4d2..dc0293e 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -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