[POWERPC] Make sure __cpu_preinit_ppc970 gets called on 970GX processors
Add check for 970GX for __cpu_preinit_ppc970. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
f4d4c354bc
commit
190a24f560
@@ -1641,6 +1641,8 @@ _GLOBAL(__start_initialization_multiplatform)
|
|||||||
cmpwi r0,0x3c /* 970FX */
|
cmpwi r0,0x3c /* 970FX */
|
||||||
beq 1f
|
beq 1f
|
||||||
cmpwi r0,0x44 /* 970MP */
|
cmpwi r0,0x44 /* 970MP */
|
||||||
|
beq 1f
|
||||||
|
cmpwi r0,0x45 /* 970GX */
|
||||||
bne 2f
|
bne 2f
|
||||||
1: bl .__cpu_preinit_ppc970
|
1: bl .__cpu_preinit_ppc970
|
||||||
2:
|
2:
|
||||||
|
Reference in New Issue
Block a user