diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 6 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 98a1c9e6b9fa..2a8f5cc5184f 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -959,6 +959,9 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
959 | .icache_bsize = 32, | 959 | .icache_bsize = 32, |
960 | .dcache_bsize = 32, | 960 | .dcache_bsize = 32, |
961 | .cpu_setup = __setup_cpu_603, | 961 | .cpu_setup = __setup_cpu_603, |
962 | .num_pmcs = 4, | ||
963 | .oprofile_cpu_type = "ppc/e300", | ||
964 | .oprofile_type = PPC_OPROFILE_FSL_EMB, | ||
962 | .platform = "ppc603", | 965 | .platform = "ppc603", |
963 | }, | 966 | }, |
964 | { /* e300c4 (e300c1, plus one IU) */ | 967 | { /* e300c4 (e300c1, plus one IU) */ |
@@ -971,6 +974,9 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
971 | .dcache_bsize = 32, | 974 | .dcache_bsize = 32, |
972 | .cpu_setup = __setup_cpu_603, | 975 | .cpu_setup = __setup_cpu_603, |
973 | .machine_check = machine_check_generic, | 976 | .machine_check = machine_check_generic, |
977 | .num_pmcs = 4, | ||
978 | .oprofile_cpu_type = "ppc/e300", | ||
979 | .oprofile_type = PPC_OPROFILE_FSL_EMB, | ||
974 | .platform = "ppc603", | 980 | .platform = "ppc603", |
975 | }, | 981 | }, |
976 | { /* default match, we assume split I/D cache & TB (non-601)... */ | 982 | { /* default match, we assume split I/D cache & TB (non-601)... */ |
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index fdce10c4f074..045b8c80eeaf 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
@@ -24,6 +24,7 @@ config PPC_83xx | |||
24 | select MPC83xx | 24 | select MPC83xx |
25 | select IPIC | 25 | select IPIC |
26 | select WANT_DEVICE_TREE | 26 | select WANT_DEVICE_TREE |
27 | select FSL_EMB_PERFMON | ||
27 | 28 | ||
28 | config PPC_86xx | 29 | config PPC_86xx |
29 | bool "Freescale 86xx" | 30 | bool "Freescale 86xx" |