]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/zImage: make the "OF" wrapper support ePAPR boot
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Sep 2013 06:10:38 +0000 (16:10 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Sep 2013 04:18:44 +0000 (14:18 +1000)
commit30e3cd40aeb04aa5052fa9acfc74abe72d41fa0f
treec154e494cf2898fa88f5160cf816f30863e9c8cc
parentfd7d2eb98adf8d3e7e8ee212955371a761d47d4e
powerpc/zImage: make the "OF" wrapper support ePAPR boot

This makes the "OF" zImage wrapper (zImage.pseries, zImage.pmac,
zImage.maple) work if booted via a flat device-tree (ePAPR boot
mode), and thus potentially usable with kexec.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/Makefile
arch/powerpc/boot/epapr-wrapper.c [new file with mode: 0644]
arch/powerpc/boot/epapr.c
arch/powerpc/boot/of.c
arch/powerpc/boot/wrapper