[U-Boot] [Patch v2, batch 1 09/10] powerpc/corenet_ds: Move SRIO enablement into specific boards

York Sun yorksun at freescale.com
Mon Mar 25 18:30:14 CET 2013


From: Kumar Gala <galak at kernel.crashing.org>

SRIO doesn't exist on the P5040DS board and we'll reuse the common
corenet_ds.h for it.  So move the SRIO defines into the board specific
headers.

Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
 include/configs/P3041DS.h |    3 +++
 include/configs/P4080DS.h |    3 +++
 include/configs/P5020DS.h |    3 +++
 3 files changed, 9 insertions(+)

diff --git a/include/configs/P3041DS.h b/include/configs/P3041DS.h
index ce8f9b0..a0a4a3c 100644
--- a/include/configs/P3041DS.h
+++ b/include/configs/P3041DS.h
@@ -35,6 +35,9 @@
 #define CONFIG_FSL_SATA_V2
 #define CONFIG_PCIE3
 #define CONFIG_PCIE4
+#define CONFIG_SYS_SRIO
+#define CONFIG_SRIO1			/* SRIO port 1 */
+#define CONFIG_SRIO2			/* SRIO port 2 */
 #define CONFIG_SYS_DPAA_RMAN
 
 #define CONFIG_SYS_SRIO
diff --git a/include/configs/P4080DS.h b/include/configs/P4080DS.h
index 53979dd..257258b 100644
--- a/include/configs/P4080DS.h
+++ b/include/configs/P4080DS.h
@@ -32,6 +32,9 @@
 
 #define CONFIG_MMC
 #define CONFIG_PCIE3
+#define CONFIG_SYS_SRIO
+#define CONFIG_SRIO1			/* SRIO port 1 */
+#define CONFIG_SRIO2			/* SRIO port 2 */
 
 #define CONFIG_SYS_SRIO
 #define CONFIG_SRIO1			/* SRIO port 1 */
diff --git a/include/configs/P5020DS.h b/include/configs/P5020DS.h
index 778230d..a32b610 100644
--- a/include/configs/P5020DS.h
+++ b/include/configs/P5020DS.h
@@ -35,6 +35,9 @@
 #define CONFIG_FSL_SATA_V2
 #define CONFIG_PCIE3
 #define CONFIG_PCIE4
+#define CONFIG_SYS_SRIO
+#define CONFIG_SRIO1			/* SRIO port 1 */
+#define CONFIG_SRIO2			/* SRIO port 2 */
 #define CONFIG_SYS_FSL_RAID_ENGINE
 #define CONFIG_SYS_DPAA_RMAN
 
-- 
1.7.9.5




More information about the U-Boot mailing list