diff options
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 14 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_44x.S | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index ce59693835c7..81db9e2a8a20 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -1843,6 +1843,20 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1843 | .machine_check = machine_check_47x, | 1843 | .machine_check = machine_check_47x, |
1844 | .platform = "ppc470", | 1844 | .platform = "ppc470", |
1845 | }, | 1845 | }, |
1846 | { /* 476fpe */ | ||
1847 | .pvr_mask = 0xffff0000, | ||
1848 | .pvr_value = 0x7ff50000, | ||
1849 | .cpu_name = "476fpe", | ||
1850 | .cpu_features = CPU_FTRS_47X | CPU_FTR_476_DD2, | ||
1851 | .cpu_user_features = COMMON_USER_BOOKE | | ||
1852 | PPC_FEATURE_HAS_FPU, | ||
1853 | .mmu_features = MMU_FTR_TYPE_47x | | ||
1854 | MMU_FTR_USE_TLBIVAX_BCAST | MMU_FTR_LOCK_BCAST_INVAL, | ||
1855 | .icache_bsize = 32, | ||
1856 | .dcache_bsize = 128, | ||
1857 | .machine_check = machine_check_47x, | ||
1858 | .platform = "ppc470", | ||
1859 | }, | ||
1846 | { /* 476 iss */ | 1860 | { /* 476 iss */ |
1847 | .pvr_mask = 0xffff0000, | 1861 | .pvr_mask = 0xffff0000, |
1848 | .pvr_value = 0x00050000, | 1862 | .pvr_value = 0x00050000, |
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index b725dab0f88a..bb7a9c7a4c05 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S | |||
@@ -732,6 +732,8 @@ _GLOBAL(init_cpu_state) | |||
732 | /* We use the PVR to differenciate 44x cores from 476 */ | 732 | /* We use the PVR to differenciate 44x cores from 476 */ |
733 | mfspr r3,SPRN_PVR | 733 | mfspr r3,SPRN_PVR |
734 | srwi r3,r3,16 | 734 | srwi r3,r3,16 |
735 | cmplwi cr0,r3,PVR_476FPE@h | ||
736 | beq head_start_47x | ||
735 | cmplwi cr0,r3,PVR_476@h | 737 | cmplwi cr0,r3,PVR_476@h |
736 | beq head_start_47x | 738 | beq head_start_47x |
737 | cmplwi cr0,r3,PVR_476_ISS@h | 739 | cmplwi cr0,r3,PVR_476_ISS@h |