diff options
Diffstat (limited to 'arch/powerpc/kernel/head_64.S')
-rw-r--r-- | arch/powerpc/kernel/head_64.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index ebaedafc8e67..50ef505b8fb6 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S | |||
@@ -1360,6 +1360,7 @@ _GLOBAL(__start_initialization_multiplatform) | |||
1360 | b .__after_prom_start | 1360 | b .__after_prom_start |
1361 | 1361 | ||
1362 | _INIT_STATIC(__boot_from_prom) | 1362 | _INIT_STATIC(__boot_from_prom) |
1363 | #ifdef CONFIG_PPC_OF_BOOT_TRAMPOLINE | ||
1363 | /* Save parameters */ | 1364 | /* Save parameters */ |
1364 | mr r31,r3 | 1365 | mr r31,r3 |
1365 | mr r30,r4 | 1366 | mr r30,r4 |
@@ -1390,7 +1391,10 @@ _INIT_STATIC(__boot_from_prom) | |||
1390 | /* Do all of the interaction with OF client interface */ | 1391 | /* Do all of the interaction with OF client interface */ |
1391 | mr r8,r26 | 1392 | mr r8,r26 |
1392 | bl .prom_init | 1393 | bl .prom_init |
1393 | /* We never return */ | 1394 | #endif /* #CONFIG_PPC_OF_BOOT_TRAMPOLINE */ |
1395 | |||
1396 | /* We never return. We also hit that trap if trying to boot | ||
1397 | * from OF while CONFIG_PPC_OF_BOOT_TRAMPOLINE isn't selected */ | ||
1394 | trap | 1398 | trap |
1395 | 1399 | ||
1396 | _STATIC(__after_prom_start) | 1400 | _STATIC(__after_prom_start) |