public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH v1 4/5] ATA: enable the sata init on bootup
@ 2008-03-16  8:35 Dave Liu
  0 siblings, 0 replies; only message in thread
From: Dave Liu @ 2008-03-16  8:35 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Dave Liu <daveliu@freescale.com>
---
 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 <ide.h>
 #endif
+#if defined(CONFIG_CMD_SATA)
+#include <libata.h>
+#endif
 #if defined(CONFIG_CMD_SCSI)
 #include <scsi.h>
 #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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-16  8:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-16  8:35 [U-Boot-Users] [PATCH v1 4/5] ATA: enable the sata init on bootup Dave Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox