diff options
| -rw-r--r-- | arch/powerpc/kernel/cputable.c | 53 |
1 files changed, 43 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 36080d4d1922..81738a4b3c3a 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
| @@ -1208,6 +1208,18 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
| 1208 | .machine_check = machine_check_4xx, | 1208 | .machine_check = machine_check_4xx, |
| 1209 | .platform = "ppc405", | 1209 | .platform = "ppc405", |
| 1210 | }, | 1210 | }, |
| 1211 | { /* default match */ | ||
| 1212 | .pvr_mask = 0x00000000, | ||
| 1213 | .pvr_value = 0x00000000, | ||
| 1214 | .cpu_name = "(generic 40x PPC)", | ||
| 1215 | .cpu_features = CPU_FTRS_40X, | ||
| 1216 | .cpu_user_features = PPC_FEATURE_32 | | ||
| 1217 | PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC, | ||
| 1218 | .icache_bsize = 32, | ||
| 1219 | .dcache_bsize = 32, | ||
| 1220 | .machine_check = machine_check_4xx, | ||
| 1221 | .platform = "ppc405", | ||
| 1222 | } | ||
| 1211 | 1223 | ||
| 1212 | #endif /* CONFIG_40x */ | 1224 | #endif /* CONFIG_40x */ |
| 1213 | #ifdef CONFIG_44x | 1225 | #ifdef CONFIG_44x |
| @@ -1421,8 +1433,18 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
| 1421 | .machine_check = machine_check_440A, | 1433 | .machine_check = machine_check_440A, |
| 1422 | .platform = "ppc440", | 1434 | .platform = "ppc440", |
| 1423 | }, | 1435 | }, |
| 1436 | { /* default match */ | ||
| 1437 | .pvr_mask = 0x00000000, | ||
| 1438 | .pvr_value = 0x00000000, | ||
| 1439 | .cpu_name = "(generic 44x PPC)", | ||
| 1440 | .cpu_features = CPU_FTRS_44X, | ||
| 1441 | .cpu_user_features = COMMON_USER_BOOKE, | ||
| 1442 | .icache_bsize = 32, | ||
| 1443 | .dcache_bsize = 32, | ||
| 1444 | .machine_check = machine_check_4xx, | ||
| 1445 | .platform = "ppc440", | ||
| 1446 | } | ||
| 1424 | #endif /* CONFIG_44x */ | 1447 | #endif /* CONFIG_44x */ |
| 1425 | #ifdef CONFIG_FSL_BOOKE | ||
| 1426 | #ifdef CONFIG_E200 | 1448 | #ifdef CONFIG_E200 |
| 1427 | { /* e200z5 */ | 1449 | { /* e200z5 */ |
| 1428 | .pvr_mask = 0xfff00000, | 1450 | .pvr_mask = 0xfff00000, |
| @@ -1451,7 +1473,19 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
| 1451 | .machine_check = machine_check_e200, | 1473 | .machine_check = machine_check_e200, |
| 1452 | .platform = "ppc5554", | 1474 | .platform = "ppc5554", |
| 1453 | }, | 1475 | }, |
| 1454 | #elif defined(CONFIG_E500) | 1476 | { /* default match */ |
| 1477 | .pvr_mask = 0x00000000, | ||
| 1478 | .pvr_value = 0x00000000, | ||
| 1479 | .cpu_name = "(generic E200 PPC)", | ||
| 1480 | .cpu_features = CPU_FTRS_E200, | ||
| 1481 | .cpu_user_features = COMMON_USER_BOOKE | | ||
| 1482 | PPC_FEATURE_HAS_EFP_SINGLE | | ||
| 1483 | PPC_FEATURE_UNIFIED_CACHE, | ||
| 1484 | .dcache_bsize = 32, | ||
| 1485 | .machine_check = machine_check_e200, | ||
| 1486 | .platform = "ppc5554", | ||
| 1487 | #endif /* CONFIG_E200 */ | ||
| 1488 | #ifdef CONFIG_E500 | ||
| 1455 | { /* e500 */ | 1489 | { /* e500 */ |
| 1456 | .pvr_mask = 0xffff0000, | 1490 | .pvr_mask = 0xffff0000, |
| 1457 | .pvr_value = 0x80200000, | 1491 | .pvr_value = 0x80200000, |
| @@ -1487,20 +1521,19 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
| 1487 | .machine_check = machine_check_e500, | 1521 | .machine_check = machine_check_e500, |
| 1488 | .platform = "ppc8548", | 1522 | .platform = "ppc8548", |
| 1489 | }, | 1523 | }, |
| 1490 | #endif | ||
| 1491 | #endif | ||
| 1492 | #if !CLASSIC_PPC | ||
| 1493 | { /* default match */ | 1524 | { /* default match */ |
| 1494 | .pvr_mask = 0x00000000, | 1525 | .pvr_mask = 0x00000000, |
| 1495 | .pvr_value = 0x00000000, | 1526 | .pvr_value = 0x00000000, |
| 1496 | .cpu_name = "(generic PPC)", | 1527 | .cpu_name = "(generic E500 PPC)", |
| 1497 | .cpu_features = CPU_FTRS_GENERIC_32, | 1528 | .cpu_features = CPU_FTRS_E500, |
| 1498 | .cpu_user_features = PPC_FEATURE_32, | 1529 | .cpu_user_features = COMMON_USER_BOOKE | |
| 1530 | PPC_FEATURE_HAS_SPE_COMP | | ||
| 1531 | PPC_FEATURE_HAS_EFP_SINGLE_COMP, | ||
| 1499 | .icache_bsize = 32, | 1532 | .icache_bsize = 32, |
| 1500 | .dcache_bsize = 32, | 1533 | .dcache_bsize = 32, |
| 1534 | .machine_check = machine_check_e500, | ||
| 1501 | .platform = "powerpc", | 1535 | .platform = "powerpc", |
| 1502 | } | 1536 | #endif /* CONFIG_E500 */ |
| 1503 | #endif /* !CLASSIC_PPC */ | ||
| 1504 | #endif /* CONFIG_PPC32 */ | 1537 | #endif /* CONFIG_PPC32 */ |
| 1505 | }; | 1538 | }; |
| 1506 | 1539 | ||
