Skip to contentSkip to conversation

powerpc/85xx: Cleanup some QE related defines

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

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/85xx: Cleanup some QE related defines

Move some processor specific QE defines into config_mpc85xx.h and use QE_MURAM_SIZE to cleanup some ifdef mess in the QE immap struct.

Also fixed up some comment style issues in immap_qe.h

---
 arch/powerpc/include/asm/config_mpc85xx.h |    6 ++
 arch/powerpc/include/asm/immap_qe.h       |   98 +++++++++--------------------
 2 files changed, 37 insertions(+), 67 deletions(-)
arch/powerpc/include/asm/config_mpc85xx.h +6 -0
index bef88ce..4e7c179 100644
@@ -67,11 +67,17 @@
 #define CONFIG_MAX_CPUS			1
 #define CONFIG_SYS_FSL_NUM_LAWS		10
 #define CONFIG_SYS_FSL_SEC_COMPAT	2
+#define QE_MURAM_SIZE			0x10000UL
+#define MAX_QE_RISC			2
+#define QE_NUM_OF_SNUM			28
 
 #elif defined(CONFIG_MPC8569)
 #define CONFIG_MAX_CPUS			1
 #define CONFIG_SYS_FSL_NUM_LAWS		10
 #define CONFIG_SYS_FSL_SEC_COMPAT	2
+#define QE_MURAM_SIZE			0x20000UL
+#define MAX_QE_RISC			4
+#define QE_NUM_OF_SNUM			46
 
 #elif defined(CONFIG_MPC8572)
 #define CONFIG_MAX_CPUS			2
arch/powerpc/include/asm/immap_qe.h +31 -67

214 lines not on this page · raw message

Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Cleanup some QE related defines

Quoted 10 lines · Kumar Gala

Move some processor specific QE defines into config_mpc85xx.h and use QE_MURAM_SIZE to cleanup some ifdef mess in the QE immap struct.

Also fixed up some comment style issues in immap_qe.h

---
arch/powerpc/include/asm/config_mpc85xx.h | 6 ++
arch/powerpc/include/asm/immap_qe.h | 98 +++++++++--------------------

2 files changed, 37 insertions(+), 67 deletions(-)

applied to 85xx next

- k