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>
This commit is contained in:
Cédric Le Goater
2014-04-24 09:23:38 +02:00
committed by Benjamin Herrenschmidt
parent f16e968499
commit 2d9afb369b
3 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
.text
.globl _zimage_start
_zimage_start:
b _zimage_start_lib