]> 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)
commitd13007b97a5ea83fe6107ab848f3b4f81edca168
tree66cf4989366fe198c1394d24f1f912e39ef0df31
parent09421e3149075151e648693431cfce60afe59af0
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