[U-Boot] [PATCH] nds32/lib: add ide generic support

Macpaul Lin macpaul at andestech.com
Fri Nov 18 10:13:18 CET 2011


Add ide generic support.

Signed-off-by: Macpaul Lin <macpaul at andestech.com>
---
 arch/nds32/lib/board.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index 2fd0e93..66e4537 100644
--- a/arch/nds32/lib/board.c
+++ b/arch/nds32/lib/board.c
@@ -351,6 +351,11 @@ void board_init_r(gd_t *id, ulong dest_addr)
 	nand_init();		/* go init the NAND */
 #endif
 
+#if defined(CONFIG_CMD_IDE)
+	puts("IDE:   ");
+	ide_init();
+#endif
+
 #ifdef CONFIG_GENERIC_MMC
 	puts("MMC:   ");
 	mmc_initialize(gd->bd);
-- 
1.7.3.5



More information about the U-Boot mailing list