]> 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)
commit7249c50fb6b570f5d11f1d37b37e1dd0591f722d
treec154e494cf2898fa88f5160cf816f30863e9c8cc
parent4fc3fc5b1ee6810904192a4c6f94766d29a6873e
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