diff options
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 15 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_44x.S | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index ad6baf834a76..9556be903e96 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -1715,6 +1715,21 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1715 | .machine_check = machine_check_47x, | 1715 | .machine_check = machine_check_47x, |
1716 | .platform = "ppc470", | 1716 | .platform = "ppc470", |
1717 | }, | 1717 | }, |
1718 | { /* 476 iss */ | ||
1719 | .pvr_mask = 0xffff0000, | ||
1720 | .pvr_value = 0x00050000, | ||
1721 | .cpu_name = "476", | ||
1722 | .cpu_features = CPU_FTRS_47X, | ||
1723 | .cpu_user_features = COMMON_USER_BOOKE | | ||
1724 | PPC_FEATURE_HAS_FPU, | ||
1725 | .cpu_user_features = COMMON_USER_BOOKE, | ||
1726 | .mmu_features = MMU_FTR_TYPE_47x | | ||
1727 | MMU_FTR_USE_TLBIVAX_BCAST | MMU_FTR_LOCK_BCAST_INVAL, | ||
1728 | .icache_bsize = 32, | ||
1729 | .dcache_bsize = 128, | ||
1730 | .machine_check = machine_check_47x, | ||
1731 | .platform = "ppc470", | ||
1732 | }, | ||
1718 | { /* default match */ | 1733 | { /* default match */ |
1719 | .pvr_mask = 0x00000000, | 1734 | .pvr_mask = 0x00000000, |
1720 | .pvr_value = 0x00000000, | 1735 | .pvr_value = 0x00000000, |
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index 1acd175428c4..5ab484ef06a7 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S | |||
@@ -715,6 +715,8 @@ _GLOBAL(init_cpu_state) | |||
715 | srwi r3,r3,16 | 715 | srwi r3,r3,16 |
716 | cmplwi cr0,r3,PVR_476@h | 716 | cmplwi cr0,r3,PVR_476@h |
717 | beq head_start_47x | 717 | beq head_start_47x |
718 | cmplwi cr0,r3,PVR_476_ISS@h | ||
719 | beq head_start_47x | ||
718 | #endif /* CONFIG_PPC_47x */ | 720 | #endif /* CONFIG_PPC_47x */ |
719 | 721 | ||
720 | /* | 722 | /* |