summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_44x.S
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2011-11-30 22:39:23 +0100
committerJosh Boyer <jwboyer@gmail.com>2011-12-09 13:51:02 +0100
commitdf777bd39a266637d1765d48043493489418e75b (patch)
treeedd0b29da39bb9bd4266bd026cd4510041cb03b5 /arch/powerpc/kernel/head_44x.S
parentpowerpc/boot: Add mfdcrx (diff)
downloadlinux-df777bd39a266637d1765d48043493489418e75b.tar.xz
linux-df777bd39a266637d1765d48043493489418e75b.zip
powerpc/476fpe: Add 476fpe SoC code
Based on original work by David 'Shaggy' Kleikamp. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Diffstat (limited to 'arch/powerpc/kernel/head_44x.S')
-rw-r--r--arch/powerpc/kernel/head_44x.S2
1 files changed, 2 insertions, 0 deletions
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)
/* 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