summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-02-11 12:55:44 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2015-03-16 18:58:32 +1100
commit90d1d44e0de0ec833634667bc1827303b2e1645e (patch)
tree175d37a87794bf4fa7abbb1d055cc1647f5dbef4
parent6c87b2202f5414be3acae9df2e1833e8b46c5688 (diff)
downloadlwn-90d1d44e0de0ec833634667bc1827303b2e1645e.tar.gz
lwn-90d1d44e0de0ec833634667bc1827303b2e1645e.zip
powerpc/boot/wrapper: use the pseries wrapper for zImage.epapr
We'll likely be entering the zImage.epapr as BE, so include the pseries implementation of _zimage_start, which adds the endian fixup magic. Although the endian fixup won't work on Book III-E machines starting LE, the current entry point doesn't support LE anyway, so we shouldn't be breaking anything. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rwxr-xr-xarch/powerpc/boot/wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index ae0f88ec4a32..3f50c27ed8f8 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -277,7 +277,7 @@ treeboot-iss4xx-mpic)
platformo="$object/treeboot-iss4xx.o"
;;
epapr)
- platformo="$object/epapr.o $object/epapr-wrapper.o"
+ platformo="$object/pseries-head.o $object/epapr.o $object/epapr-wrapper.o"
link_address='0x20000000'
pie=-pie
;;