From: Jeremy Kerr Date: Wed, 11 Feb 2015 04:55:44 +0000 (+0800) Subject: powerpc/boot/wrapper: use the pseries wrapper for zImage.epapr X-Git-Tag: v5.15~15963^2~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90d1d44e0de0ec833634667bc1827303b2e1645e;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper index ae0f88e..3f50c27 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 ;;