summaryrefslogtreecommitdiffstats
path: root/arch/ppc/boot/simple/relocate.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/boot/simple/relocate.S')
-rw-r--r--arch/ppc/boot/simple/relocate.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/boot/simple/relocate.S b/arch/ppc/boot/simple/relocate.S
index 7efddc507564..2533113c1cc5 100644
--- a/arch/ppc/boot/simple/relocate.S
+++ b/arch/ppc/boot/simple/relocate.S
@@ -194,7 +194,7 @@ start_ldr:
/*
* Start at the begining.
*/
-#ifdef CONFIG_PPC_MULTIPLATFORM
+#ifdef CONFIG_PPC_PREP
li r9,0xc
mtlr r9
/* tell kernel we're prep, by putting 0xdeadc0de at KERNELLOAD,
OpenPOWER on IntegriCloud