powerpc/85xx: Cleanup some QE related defines
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
Signed-off-by Kumar Gala <[email protected]>
--- 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
@@ -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
Kumar Gala
AppliedPATCH 1/1 powerpc/85xx: Cleanup some QE related defines
Quoted 10 lines · Kumar Gala
Move some processor specific QE defines into
config_mpc85xx.hand useQE_MURAM_SIZEto cleanup some ifdef mess in the QE immap struct.Also fixed up some comment style issues in
immap_qe.hSigned-off-by Kumar Gala <[email protected]>---
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