From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Liu Date: Sun, 16 Mar 2008 16:35:29 +0800 Subject: [U-Boot-Users] [PATCH v1 4/5] ATA: enable the sata init on bootup Message-ID: <1205656529.3656.8.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Dave Liu --- lib_ppc/board.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index fbf1c5d..dff88d5 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 @@ -1091,6 +1094,11 @@ void board_init_r (gd_t *id, ulong dest_addr) #endif #endif +#if defined(CONFIG_CMD_SATA) + puts ("SATA: "); + sata_init (); +#endif + #ifdef CONFIG_LAST_STAGE_INIT WATCHDOG_RESET (); /* -- 1.5.4.rc4