aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2007-06-15 15:36:32 -0400
committerPaul Mackerras <paulus@samba.org>2007-07-10 07:53:44 -0400
commit333e615483afc5203d1cae1490e50982d6eefbea (patch)
treeb24da4e2658975019b45eef4918f893b5020476d /arch/powerpc/kernel/cputable.c
parent57cc705f3920d39d96ed9b8373aa7ff2cb93434f (diff)
[POWERPC] Add cputable entry for PowerPC 440SPe Rev. B
When adding the cputable entry for 440SPe Rev. B, we also need to adjust the existing entries for 440SP Rev. A and 440SPe Rev. B so that they look more bits of the PVR. The 440SPe Rev. B has PVR 53421891, which would match the current 440SP Rev. A pattern of 53xxx891. To distinguish between 440SP and 440SPe, we need to use the first three digits of the PVR, which are respectively 532 and 534. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r--arch/powerpc/kernel/cputable.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index b2b5d664d328..157e6e3d237b 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1178,8 +1178,8 @@ static struct cpu_spec cpu_specs[] = {
1178 .platform = "ppc440", 1178 .platform = "ppc440",
1179 }, 1179 },
1180 { /* 440SP Rev. A */ 1180 { /* 440SP Rev. A */
1181 .pvr_mask = 0xff000fff, 1181 .pvr_mask = 0xfff00fff,
1182 .pvr_value = 0x53000891, 1182 .pvr_value = 0x53200891,
1183 .cpu_name = "440SP Rev. A", 1183 .cpu_name = "440SP Rev. A",
1184 .cpu_features = CPU_FTRS_44X, 1184 .cpu_features = CPU_FTRS_44X,
1185 .cpu_user_features = COMMON_USER_BOOKE, 1185 .cpu_user_features = COMMON_USER_BOOKE,
@@ -1188,9 +1188,19 @@ static struct cpu_spec cpu_specs[] = {
1188 .platform = "ppc440", 1188 .platform = "ppc440",
1189 }, 1189 },
1190 { /* 440SPe Rev. A */ 1190 { /* 440SPe Rev. A */
1191 .pvr_mask = 0xff000fff, 1191 .pvr_mask = 0xfff00fff,
1192 .pvr_value = 0x53000890, 1192 .pvr_value = 0x53400890,
1193 .cpu_name = "440SPe Rev. A", 1193 .cpu_name = "440SPe Rev. A",
1194 .cpu_features = CPU_FTRS_44X,
1195 .cpu_user_features = COMMON_USER_BOOKE,
1196 .icache_bsize = 32,
1197 .dcache_bsize = 32,
1198 .platform = "ppc440",
1199 },
1200 { /* 440SPe Rev. B */
1201 .pvr_mask = 0xfff00fff,
1202 .pvr_value = 0x53400891,
1203 .cpu_name = "440SPe Rev. B",
1194 .cpu_features = CPU_FTRS_44X, 1204 .cpu_features = CPU_FTRS_44X,
1195 .cpu_user_features = COMMON_USER_BOOKE, 1205 .cpu_user_features = COMMON_USER_BOOKE,
1196 .icache_bsize = 32, 1206 .icache_bsize = 32,