From cd54081cd479e542fc399b8a40651ff11a1ad849 Mon Sep 17 00:00:00 2001 From: Dave Liu Date: Wed, 26 Mar 2008 22:53:24 +0800 Subject: [PATCH] ata: enable the sata initialize on boot up Signed-off-by: Dave Liu --- lib_ppc/board.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 (); /* -- 2.30.2