From: Dave Liu Date: Wed, 26 Mar 2008 14:53:24 +0000 (+0800) Subject: ata: enable the sata initialize on boot up X-Git-Tag: v1.3.3-rc1~131 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd54081cd479e542fc399b8a40651ff11a1ad849;p=u-boot ata: enable the sata initialize on boot up Signed-off-by: Dave Liu --- diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 3ab22f809e..30383027c7 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -38,6 +38,9 @@ #if defined(CONFIG_CMD_IDE) #include #endif +#if defined(CONFIG_CMD_SATA) +#include +#endif #if defined(CONFIG_CMD_SCSI) #include #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 (); /*