powerpc/boot: Add a global entry point for pseries
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 24 Apr 2014 07:23:38 +0000 (09:23 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 07:36:17 +0000 (17:36 +1000)
commit2d9afb369bc069f11a3a8696c4bdf95d4ddf1281
tree4b673b16272bd0f4029ed03e3b9394b744a49526
parentf16e9684996188c12e1f460589003e99086ce36e
powerpc/boot: Add a global entry point for pseries

When entering the boot wrapper in little endian, we will need to fix
the endian order using a fixup trampoline like in the kernel. This
patch overrides the _zimage_start entry point for this purpose.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/Makefile
arch/powerpc/boot/pseries-head.S [new file with mode: 0644]
arch/powerpc/boot/wrapper