]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit93d3921042988317e94b1bcc2e19844efe0b7356
tree66cf4989366fe198c1394d24f1f912e39ef0df31
parent002c39dba3fc47b953101790d798f69150366738
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