projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6938638
)
ata: enable the sata initialize on boot up
author
Dave Liu
<r63238@freescale.com>
Wed, 26 Mar 2008 14:53:24 +0000
(22:53 +0800)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 26 Mar 2008 22:38:54 +0000
(23:38 +0100)
Signed-off-by: Dave Liu <daveliu@freescale.com>
lib_ppc/board.c
patch
|
blob
|
history
diff --git
a/lib_ppc/board.c
b/lib_ppc/board.c
index 3ab22f809ed6b934917762b90eff7213bec81604..30383027c78d33d310c9468340ec635d7c4aed4a 100644
(file)
--- 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 ();
/*