summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMacpaul Lin <macpaul@andestech.com>2011-11-18 17:01:31 +0800
committerMacpaul Lin <macpaul@andestech.com>2011-11-18 17:27:12 +0800
commita2308547d15c0c678a3ce06ac81850f809147142 (patch)
treea65b2038ce95e5c8e67577cb5e21345fc6e0c5f0 /arch
parentd21f6e583bfaae9ca8b19c5d4baccdc3be3b8b56 (diff)
nds32/lib: add ide generic support
Add ide generic support. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/nds32/lib/board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index 2fd0e93d455..66e45370ccb 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);