mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
ce12a8c1a9
commit
966b11c749
3 changed files with 6 additions and 7 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue