]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0246c26ee5c9a2649a42e5413751a7e4a1fd3f87
treeff96b53f4ee23150142a1105fbcbaf90e432d5ff
parentb4be329c3be14fceea8e19e59373cc984ef7e00d
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