Merge remote-tracking branch 'jwb/next' into next
Conflicts: arch/powerpc/platforms/40x/ppc40x_simple.c
This commit is contained in:
@@ -1505,6 +1505,19 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
||||
.machine_check = machine_check_4xx,
|
||||
.platform = "ppc405",
|
||||
},
|
||||
{ /* APM8018X */
|
||||
.pvr_mask = 0xffff0000,
|
||||
.pvr_value = 0x7ff11432,
|
||||
.cpu_name = "APM8018X",
|
||||
.cpu_features = CPU_FTRS_40X,
|
||||
.cpu_user_features = PPC_FEATURE_32 |
|
||||
PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC,
|
||||
.mmu_features = MMU_FTR_TYPE_40x,
|
||||
.icache_bsize = 32,
|
||||
.dcache_bsize = 32,
|
||||
.machine_check = machine_check_4xx,
|
||||
.platform = "ppc405",
|
||||
},
|
||||
{ /* default match */
|
||||
.pvr_mask = 0x00000000,
|
||||
.pvr_value = 0x00000000,
|
||||
@@ -1830,6 +1843,20 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
||||
.machine_check = machine_check_47x,
|
||||
.platform = "ppc470",
|
||||
},
|
||||
{ /* 476fpe */
|
||||
.pvr_mask = 0xffff0000,
|
||||
.pvr_value = 0x7ff50000,
|
||||
.cpu_name = "476fpe",
|
||||
.cpu_features = CPU_FTRS_47X | CPU_FTR_476_DD2,
|
||||
.cpu_user_features = COMMON_USER_BOOKE |
|
||||
PPC_FEATURE_HAS_FPU,
|
||||
.mmu_features = MMU_FTR_TYPE_47x |
|
||||
MMU_FTR_USE_TLBIVAX_BCAST | MMU_FTR_LOCK_BCAST_INVAL,
|
||||
.icache_bsize = 32,
|
||||
.dcache_bsize = 128,
|
||||
.machine_check = machine_check_47x,
|
||||
.platform = "ppc470",
|
||||
},
|
||||
{ /* 476 iss */
|
||||
.pvr_mask = 0xffff0000,
|
||||
.pvr_value = 0x00050000,
|
||||
|
@@ -732,6 +732,8 @@ _GLOBAL(init_cpu_state)
|
||||
/* We use the PVR to differenciate 44x cores from 476 */
|
||||
mfspr r3,SPRN_PVR
|
||||
srwi r3,r3,16
|
||||
cmplwi cr0,r3,PVR_476FPE@h
|
||||
beq head_start_47x
|
||||
cmplwi cr0,r3,PVR_476@h
|
||||
beq head_start_47x
|
||||
cmplwi cr0,r3,PVR_476_ISS@h
|
||||
|
Reference in New Issue
Block a user