commit | 93d3921042988317e94b1bcc2e19844efe0b7356 | [log] [tgz] |
---|---|---|
author | Cédric Le Goater <clg@fr.ibm.com> | Thu Apr 24 09:23:36 2014 +0200 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Apr 28 17:36:08 2014 +1000 |
tree | 66cf4989366fe198c1394d24f1f912e39ef0df31 | |
parent | 002c39dba3fc47b953101790d798f69150366738 [diff] |
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>