diff options
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 1f9123f412ec..cd5519133f86 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -66,6 +66,10 @@ extern void __restore_cpu_ppc970(void); | |||
66 | extern void __setup_cpu_power7(unsigned long offset, struct cpu_spec* spec); | 66 | extern void __setup_cpu_power7(unsigned long offset, struct cpu_spec* spec); |
67 | extern void __restore_cpu_power7(void); | 67 | extern void __restore_cpu_power7(void); |
68 | #endif /* CONFIG_PPC64 */ | 68 | #endif /* CONFIG_PPC64 */ |
69 | #if defined(CONFIG_E500) | ||
70 | extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec); | ||
71 | extern void __restore_cpu_e5500(void); | ||
72 | #endif /* CONFIG_E500 */ | ||
69 | 73 | ||
70 | /* This table only contains "desktop" CPUs, it need to be filled with embedded | 74 | /* This table only contains "desktop" CPUs, it need to be filled with embedded |
71 | * ones as well... | 75 | * ones as well... |
@@ -1891,7 +1895,9 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1891 | .platform = "ppc5554", | 1895 | .platform = "ppc5554", |
1892 | } | 1896 | } |
1893 | #endif /* CONFIG_E200 */ | 1897 | #endif /* CONFIG_E200 */ |
1898 | #endif /* CONFIG_PPC32 */ | ||
1894 | #ifdef CONFIG_E500 | 1899 | #ifdef CONFIG_E500 |
1900 | #ifdef CONFIG_PPC32 | ||
1895 | { /* e500 */ | 1901 | { /* e500 */ |
1896 | .pvr_mask = 0xffff0000, | 1902 | .pvr_mask = 0xffff0000, |
1897 | .pvr_value = 0x80200000, | 1903 | .pvr_value = 0x80200000, |
@@ -1946,6 +1952,26 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1946 | .machine_check = machine_check_e500mc, | 1952 | .machine_check = machine_check_e500mc, |
1947 | .platform = "ppce500mc", | 1953 | .platform = "ppce500mc", |
1948 | }, | 1954 | }, |
1955 | #endif /* CONFIG_PPC32 */ | ||
1956 | { /* e5500 */ | ||
1957 | .pvr_mask = 0xffff0000, | ||
1958 | .pvr_value = 0x80240000, | ||
1959 | .cpu_name = "e5500", | ||
1960 | .cpu_features = CPU_FTRS_E500MC, | ||
1961 | .cpu_user_features = COMMON_USER_BOOKE, | ||
1962 | .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS | | ||
1963 | MMU_FTR_USE_TLBILX, | ||
1964 | .icache_bsize = 64, | ||
1965 | .dcache_bsize = 64, | ||
1966 | .num_pmcs = 4, | ||
1967 | .oprofile_cpu_type = "ppc/e500mc", | ||
1968 | .oprofile_type = PPC_OPROFILE_FSL_EMB, | ||
1969 | .cpu_setup = __setup_cpu_e5500, | ||
1970 | .cpu_restore = __restore_cpu_e5500, | ||
1971 | .machine_check = machine_check_e500mc, | ||
1972 | .platform = "ppce5500", | ||
1973 | }, | ||
1974 | #ifdef CONFIG_PPC32 | ||
1949 | { /* default match */ | 1975 | { /* default match */ |
1950 | .pvr_mask = 0x00000000, | 1976 | .pvr_mask = 0x00000000, |
1951 | .pvr_value = 0x00000000, | 1977 | .pvr_value = 0x00000000, |
@@ -1960,8 +1986,8 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1960 | .machine_check = machine_check_e500, | 1986 | .machine_check = machine_check_e500, |
1961 | .platform = "powerpc", | 1987 | .platform = "powerpc", |
1962 | } | 1988 | } |
1963 | #endif /* CONFIG_E500 */ | ||
1964 | #endif /* CONFIG_PPC32 */ | 1989 | #endif /* CONFIG_PPC32 */ |
1990 | #endif /* CONFIG_E500 */ | ||
1965 | 1991 | ||
1966 | #ifdef CONFIG_PPC_BOOK3E_64 | 1992 | #ifdef CONFIG_PPC_BOOK3E_64 |
1967 | { /* This is a default entry to get going, to be replaced by | 1993 | { /* This is a default entry to get going, to be replaced by |