aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_32.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/head_32.S')
-rw-r--r--arch/powerpc/kernel/head_32.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S
index fdd34dbd8797..6359e364fe66 100644
--- a/arch/powerpc/kernel/head_32.S
+++ b/arch/powerpc/kernel/head_32.S
@@ -125,6 +125,19 @@ __start:
125 bl prom_init 125 bl prom_init
126 trap 126 trap
127 127
128/*
129 * Check for BootX signature when supporting PowerMac and branch to
130 * appropriate trampoline if it's present
131 */
132#ifdef CONFIG_PPC_PMAC
1331: lis r31,0x426f
134 ori r31,r31,0x6f58
135 cmpw 0,r3,r31
136 bne 1f
137 bl bootx_init
138 trap
139#endif /* CONFIG_PPC_PMAC */
140
1281: mr r31,r3 /* save parameters */ 1411: mr r31,r3 /* save parameters */
129 mr r30,r4 142 mr r30,r4
130 li r24,0 /* cpu # */ 143 li r24,0 /* cpu # */