Skip to contentSkip to conversation

powerpc/85xx: Add some defines for P2040, P3041, P5010, P5020

PATCH New Kumar Gala 1 participant 2 messages Jan 25, 2011 – Feb 1, 2011 PowerPC

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/85xx: Add some defines for P2040, P3041, P5010, P5020

Specify the number of DDR controllers, number of frame managers, number of 1g and 10g ports.

---
 arch/powerpc/include/asm/config_mpc85xx.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
arch/powerpc/include/asm/config_mpc85xx.h +15 -0
index a78086b..0f83d15 100644
@@ -140,11 +140,18 @@
 #define CONFIG_MAX_CPUS			4
 #define CONFIG_SYS_FSL_NUM_LAWS		32
 #define CONFIG_SYS_FSL_SEC_COMPAT	4
+#define CONFIG_SYS_NUM_FMAN		1
+#define CONFIG_SYS_NUM_FM1_DTSEC	5
+#define CONFIG_NUM_DDR_CONTROLLERS	1
 
 #elif defined(CONFIG_PPC_P3041)
 #define CONFIG_MAX_CPUS			4
 #define CONFIG_SYS_FSL_NUM_LAWS		32
 #define CONFIG_SYS_FSL_SEC_COMPAT	4
+#define CONFIG_SYS_NUM_FMAN		1
+#define CONFIG_SYS_NUM_FM1_DTSEC	5
+#define CONFIG_SYS_NUM_FM1_10GEC	1
+#define CONFIG_NUM_DDR_CONTROLLERS	1
 
 #elif defined(CONFIG_PPC_P4040)
 #define CONFIG_MAX_CPUS			4
@@ -176,11 +183,19 @@
 #define CONFIG_MAX_CPUS			1
 #define CONFIG_SYS_FSL_NUM_LAWS		32
 #define CONFIG_SYS_FSL_SEC_COMPAT	4
+#define CONFIG_SYS_NUM_FMAN		1
+#define CONFIG_SYS_NUM_FM1_DTSEC	5
+#define CONFIG_SYS_NUM_FM1_10GEC	1
+#define CONFIG_NUM_DDR_CONTROLLERS	1
 
 #elif defined(CONFIG_PPC_P5020)
 #define CONFIG_MAX_CPUS			2
 #define CONFIG_SYS_FSL_NUM_LAWS		32
 #define CONFIG_SYS_FSL_SEC_COMPAT	4
+#define CONFIG_SYS_NUM_FMAN		1
+#define CONFIG_SYS_NUM_FM1_DTSEC	5
+#define CONFIG_SYS_NUM_FM1_10GEC	1
+#define CONFIG_NUM_DDR_CONTROLLERS	2
 
 #else
 #error Processor type not defined for this platform
Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Add some defines for P2040, P3041, P5010, P5020

Quoted 7 lines · Kumar Gala

Specify the number of DDR controllers, number of frame managers, number of 1g and 10g ports.

---
arch/powerpc/include/asm/config_mpc85xx.h | 15 +++++++++++++++

1 files changed, 15 insertions(+), 0 deletions(-)

applied to 85xx next

- k