aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/cputable.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-06-16 10:41:32 -0400
committerKumar Gala <galak@kernel.crashing.org>2008-06-18 17:17:56 -0400
commit3dfa8773674e16f95f70a0e631e80c69390d04d7 (patch)
tree95e8989bbc8373e61f69ca2ac4c98ffd3c709bd9 /include/asm-powerpc/cputable.h
parentbccaea8fe287454d70f5b2546910561e9f884053 (diff)
powerpc/booke: Add support for new e500mc core
The new e500mc core from Freescale is based on the e500v2 but with the following changes: * Supports only the Enhanced Debug Architecture (DSRR0/1, etc) * Floating Point * No SPE * Supports lwsync * Doorbell Exceptions * Hypervisor * Cache line size is now 64-bytes (e500v1/v2 have a 32-byte cache line) Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/cputable.h')
-rw-r--r--include/asm-powerpc/cputable.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h
index 1e79673b7316..a3dce178b728 100644
--- a/include/asm-powerpc/cputable.h
+++ b/include/asm-powerpc/cputable.h
@@ -351,6 +351,8 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start,
351 CPU_FTR_NODSISRALIGN) 351 CPU_FTR_NODSISRALIGN)
352#define CPU_FTRS_E500_2 (CPU_FTR_USE_TB | CPU_FTR_SPE_COMP | \ 352#define CPU_FTRS_E500_2 (CPU_FTR_USE_TB | CPU_FTR_SPE_COMP | \
353 CPU_FTR_BIG_PHYS | CPU_FTR_NODSISRALIGN) 353 CPU_FTR_BIG_PHYS | CPU_FTR_NODSISRALIGN)
354#define CPU_FTRS_E500MC (CPU_FTR_USE_TB | CPU_FTR_BIG_PHYS | \
355 CPU_FTR_NODSISRALIGN)
354#define CPU_FTRS_GENERIC_32 (CPU_FTR_COMMON | CPU_FTR_NODSISRALIGN) 356#define CPU_FTRS_GENERIC_32 (CPU_FTR_COMMON | CPU_FTR_NODSISRALIGN)
355 357
356/* 64-bit CPUs */ 358/* 64-bit CPUs */
@@ -421,7 +423,7 @@ enum {
421 CPU_FTRS_E200 | 423 CPU_FTRS_E200 |
422#endif 424#endif
423#ifdef CONFIG_E500 425#ifdef CONFIG_E500
424 CPU_FTRS_E500 | CPU_FTRS_E500_2 | 426 CPU_FTRS_E500 | CPU_FTRS_E500_2 | CPU_FTRS_E500MC |
425#endif 427#endif
426 0, 428 0,
427}; 429};
@@ -461,7 +463,7 @@ enum {
461 CPU_FTRS_E200 & 463 CPU_FTRS_E200 &
462#endif 464#endif
463#ifdef CONFIG_E500 465#ifdef CONFIG_E500
464 CPU_FTRS_E500 & CPU_FTRS_E500_2 & 466 CPU_FTRS_E500 & CPU_FTRS_E500_2 & CPU_FTRS_E500MC &
465#endif 467#endif
466 CPU_FTRS_POSSIBLE, 468 CPU_FTRS_POSSIBLE,
467}; 469};