public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: add ide initialization
@ 2011-10-06 22:23 Michael Walle
  2011-10-07 17:27 ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Walle @ 2011-10-06 22:23 UTC (permalink / raw)
  To: u-boot

Call ide_init() in the board initialization if IDE support is compiled in.

Signed-off-by: Michael Walle <michael@walle.cc>
---
 arch/arm/lib/board.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 705d4d2..9addab8 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
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-18 22:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-06 22:23 [U-Boot] [PATCH] arm: add ide initialization Michael Walle
2011-10-07 17:27 ` Mike Frysinger
2011-10-07 21:50   ` Michael Walle
2011-10-18 21:42     ` Albert ARIBAUD
2011-10-18 22:19       ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox