diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-06-16 10:41:32 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-06-18 17:17:56 -0400 |
commit | 3dfa8773674e16f95f70a0e631e80c69390d04d7 (patch) | |
tree | 95e8989bbc8373e61f69ca2ac4c98ffd3c709bd9 /arch/powerpc/kernel/cputable.c | |
parent | bccaea8fe287454d70f5b2546910561e9f884053 (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 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index e44d5530f0a6..aa421f5651c8 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -1522,6 +1522,21 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1522 | .machine_check = machine_check_e500, | 1522 | .machine_check = machine_check_e500, |
1523 | .platform = "ppc8548", | 1523 | .platform = "ppc8548", |
1524 | }, | 1524 | }, |
1525 | { /* e500mc */ | ||
1526 | .pvr_mask = 0xffff0000, | ||
1527 | .pvr_value = 0x80230000, | ||
1528 | .cpu_name = "e500mc", | ||
1529 | /* xxx - galak: add CPU_FTR_MAYBE_CAN_DOZE */ | ||
1530 | .cpu_features = CPU_FTRS_E500MC, | ||
1531 | .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU, | ||
1532 | .icache_bsize = 64, | ||
1533 | .dcache_bsize = 64, | ||
1534 | .num_pmcs = 4, | ||
1535 | .oprofile_cpu_type = "ppc/e500", /* xxx - galak, e500mc? */ | ||
1536 | .oprofile_type = PPC_OPROFILE_FSL_EMB, | ||
1537 | .machine_check = machine_check_e500, | ||
1538 | .platform = "ppce500mc", | ||
1539 | }, | ||
1525 | { /* default match */ | 1540 | { /* default match */ |
1526 | .pvr_mask = 0x00000000, | 1541 | .pvr_mask = 0x00000000, |
1527 | .pvr_value = 0x00000000, | 1542 | .pvr_value = 0x00000000, |