nds32/lib: add ide generic support
authorMacpaul Lin <macpaul@andestech.com>
Fri, 18 Nov 2011 09:01:31 +0000 (17:01 +0800)
committerMacpaul Lin <macpaul@andestech.com>
Fri, 18 Nov 2011 09:27:12 +0000 (17:27 +0800)
Add ide generic support.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
arch/nds32/lib/board.c

index 2fd0e93d455bcc5517b86f7a3ff5e0dc43d82703..66e45370ccb464cc12fac015e162cceb7d7d123c 100644 (file)
@@ -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);