Patchwork [U-Boot] powerpc/p4080: enable support for PCIe SATA

login
register
mail settings
Submitter shaohui xie
Date Nov. 8, 2013, 2:46 a.m.
Message ID <1383878804-5350-1-git-send-email-shh.xie@gmail.com>
Download mbox | patch
Permalink /patch/289682/
State Accepted
Delegated to: York Sun
Headers show

Comments

shaohui xie - Nov. 8, 2013, 2:46 a.m.
From: Shaohui Xie <Shaohui.Xie@freescale.com>

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
---
 include/configs/P4080DS.h | 6 ++++++
 1 file changed, 6 insertions(+)
York Sun - Nov. 25, 2013, 8:59 p.m.
On 11/07/2013 06:46 PM, shh.xie@gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
> 
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
> ---

Applied to u-boot-mpc85xx/master. Thanks.

York

Patch

diff --git a/include/configs/P4080DS.h b/include/configs/P4080DS.h
index b0cd7d5..2f89008 100644
--- a/include/configs/P4080DS.h
+++ b/include/configs/P4080DS.h
@@ -17,6 +17,12 @@ 
 #define CONFIG_MMC
 #define CONFIG_PCIE3
 
+#define CONFIG_CMD_SATA
+#define CONFIG_SATA_SIL
+#define CONFIG_SYS_SATA_MAX_DEVICE  2
+#define CONFIG_LIBATA
+#define CONFIG_LBA48
+
 #define CONFIG_SYS_SRIO
 #define CONFIG_SRIO1			/* SRIO port 1 */
 #define CONFIG_SRIO2			/* SRIO port 2 */