]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/boot: Define a routine to enter prom
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 24 Apr 2014 07:23:36 +0000 (09:23 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 07:36:08 +0000 (17:36 +1000)
commit270d7bb348af1a16dd12ebded03d634180eafec3
tree66cf4989366fe198c1394d24f1f912e39ef0df31
parentc2aa2eca94215aa6431dc1af09721563a2cf4fc5
powerpc/boot: Define a routine to enter prom

This patch defines a 'prom' routine similar to 'enter_prom' in the
kernel.

The difference is in the MSR which is built before entering prom. Big
endian order is enforced as in the kernel but 32bit mode is not. It
prepares ground for the next patches which will introduce Little endian
order.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/crt0.S
arch/powerpc/boot/oflib.c