powerpc/boot: Add an ePAPR compliant boot wrapper
authorDavid Gibson <dwg@au1.ibm.com>
Thu, 14 Apr 2011 18:29:16 +0000 (18:29 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Apr 2011 06:59:21 +0000 (16:59 +1000)
commit6c5b59b913874cae535a324a671b7ed4f17e6397
treeff96b53f4ee23150142a1105fbcbaf90e432d5ff
parent6975a783d7b40c79be4b7a7ea450e023ff7e5e02
powerpc/boot: Add an ePAPR compliant boot wrapper

This is a first cut at making bootwrapper code which will
produce a zImage compliant with the requirements set down
by ePAPR.

This is a very simple bootwrapper, taking the device tree
blob supplied by the ePAPR boot program and passing it on
to the kernel. It builds on the earlier patch to build a
relocatable ET_DYN zImage to meet the other ePAPR image
requirements.

For good measure we have some paranoid checks which will
generate warnings if some of the ePAPR entry condition
guarantees are not met.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/boot/Makefile
arch/powerpc/boot/epapr.c [new file with mode: 0644]
arch/powerpc/boot/wrapper