diff mbox

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

Message ID 1321607598-7517-1-git-send-email-macpaul@andestech.com
State Accepted
Commit a2308547d15c0c678a3ce06ac81850f809147142
Delegated to: Macpaul Lin
Headers show

Commit Message

Macpaul Lin Nov. 18, 2011, 9:13 a.m. UTC
Add ide generic support.

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

Comments

Macpaul Lin Nov. 18, 2011, 9:22 a.m. UTC | #1
Hi Macpaul,

2011/11/18 Macpaul Lin <macpaul@andestech.com>:
> Add ide generic support.
>
> Signed-off-by: Macpaul Lin <macpaul@andestech.com>

Applied to u-boot-nds32/master.
Thanks.
diff mbox

Patch

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);