diff options
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 19599ef352bc..ae9f433daabf 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -74,7 +74,9 @@ extern void __restore_cpu_a2(void); | |||
74 | #endif /* CONFIG_PPC64 */ | 74 | #endif /* CONFIG_PPC64 */ |
75 | #if defined(CONFIG_E500) | 75 | #if defined(CONFIG_E500) |
76 | extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec); | 76 | extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec); |
77 | extern void __setup_cpu_e6500(unsigned long offset, struct cpu_spec* spec); | ||
77 | extern void __restore_cpu_e5500(void); | 78 | extern void __restore_cpu_e5500(void); |
79 | extern void __restore_cpu_e6500(void); | ||
78 | #endif /* CONFIG_E500 */ | 80 | #endif /* CONFIG_E500 */ |
79 | 81 | ||
80 | /* This table only contains "desktop" CPUs, it need to be filled with embedded | 82 | /* This table only contains "desktop" CPUs, it need to be filled with embedded |
@@ -2065,7 +2067,8 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
2065 | .pvr_value = 0x80400000, | 2067 | .pvr_value = 0x80400000, |
2066 | .cpu_name = "e6500", | 2068 | .cpu_name = "e6500", |
2067 | .cpu_features = CPU_FTRS_E6500, | 2069 | .cpu_features = CPU_FTRS_E6500, |
2068 | .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU, | 2070 | .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU | |
2071 | PPC_FEATURE_HAS_ALTIVEC_COMP, | ||
2069 | .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS | | 2072 | .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS | |
2070 | MMU_FTR_USE_TLBILX, | 2073 | MMU_FTR_USE_TLBILX, |
2071 | .icache_bsize = 64, | 2074 | .icache_bsize = 64, |
@@ -2073,9 +2076,9 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
2073 | .num_pmcs = 4, | 2076 | .num_pmcs = 4, |
2074 | .oprofile_cpu_type = "ppc/e6500", | 2077 | .oprofile_cpu_type = "ppc/e6500", |
2075 | .oprofile_type = PPC_OPROFILE_FSL_EMB, | 2078 | .oprofile_type = PPC_OPROFILE_FSL_EMB, |
2076 | .cpu_setup = __setup_cpu_e5500, | 2079 | .cpu_setup = __setup_cpu_e6500, |
2077 | #ifndef CONFIG_PPC32 | 2080 | #ifndef CONFIG_PPC32 |
2078 | .cpu_restore = __restore_cpu_e5500, | 2081 | .cpu_restore = __restore_cpu_e6500, |
2079 | #endif | 2082 | #endif |
2080 | .machine_check = machine_check_e500mc, | 2083 | .machine_check = machine_check_e500mc, |
2081 | .platform = "ppce6500", | 2084 | .platform = "ppce6500", |