diff options
author | Stefan Roese <sr@denx.de> | 2012-08-23 09:25:37 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2012-12-05 17:27:02 +0100 |
commit | 966b11c74909d2c1b38070dc4ab5708fba5be43d (patch) | |
tree | d756f1cc0e90dd7dafa50a05ae4ee552813e6014 /arch/powerpc/include/asm | |
parent | ce12a8c1a94a2b3d585feff387497f724b98e3ce (diff) | |
download | u-boot-imx-966b11c74909d2c1b38070dc4ab5708fba5be43d.zip u-boot-imx-966b11c74909d2c1b38070dc4ab5708fba5be43d.tar.gz u-boot-imx-966b11c74909d2c1b38070dc4ab5708fba5be43d.tar.bz2 |
powerpc: Extract EPAPR_MAGIC constants into processor.h
By extracting these defines into a header, they can be re-used by other
C sources as well. This will be done by the SPL framework OS boot
support.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/processor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 7aa3231..19fe250 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -1342,4 +1342,10 @@ void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val); #endif #endif /* CONFIG_MACH_SPECIFIC */ +#if defined(CONFIG_MPC85xx) || defined(CONFIG_440) + #define EPAPR_MAGIC (0x45504150) +#else + #define EPAPR_MAGIC (0x65504150) +#endif + #endif /* __ASM_PPC_PROCESSOR_H */ |