summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorDave Liu <r63238@freescale.com>2008-03-26 22:53:24 +0800
committerWolfgang Denk <wd@denx.de>2008-03-26 23:38:54 +0100
commitcd54081cd479e542fc399b8a40651ff11a1ad849 (patch)
tree89531fef806025dc98b96ed1f51dfe09b597469b /lib_ppc
parent69386383c5c2b323c66495b0b0cef6a9714d83bf (diff)
downloadu-boot-imx-cd54081cd479e542fc399b8a40651ff11a1ad849.zip
u-boot-imx-cd54081cd479e542fc399b8a40651ff11a1ad849.tar.gz
u-boot-imx-cd54081cd479e542fc399b8a40651ff11a1ad849.tar.bz2
ata: enable the sata initialize on boot up
Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 3ab22f8..3038302 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -38,6 +38,9 @@
#if defined(CONFIG_CMD_IDE)
#include <ide.h>
#endif
+#if defined(CONFIG_CMD_SATA)
+#include <sata.h>
+#endif
#if defined(CONFIG_CMD_SCSI)
#include <scsi.h>
#endif
@@ -1104,6 +1107,11 @@ void board_init_r (gd_t *id, ulong dest_addr)
#endif
#endif
+#if defined(CONFIG_CMD_SATA)
+ puts ("SATA: ");
+ sata_initialize ();
+#endif
+
#ifdef CONFIG_LAST_STAGE_INIT
WATCHDOG_RESET ();
/*