summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-08-23 07:25:37 (GMT)
committerStefan Roese <sr@denx.de>2012-12-05 16:27:02 (GMT)
commit966b11c74909d2c1b38070dc4ab5708fba5be43d (patch)
treed756f1cc0e90dd7dafa50a05ae4ee552813e6014 /arch/powerpc/lib
parentce12a8c1a94a2b3d585feff387497f724b98e3ce (diff)
downloadu-boot-966b11c74909d2c1b38070dc4ab5708fba5be43d.tar.xz
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/lib')
-rw-r--r--arch/powerpc/lib/bootm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c
index ac5bd6d..7088293 100644
--- a/arch/powerpc/lib/bootm.c
+++ b/arch/powerpc/lib/bootm.c
@@ -87,12 +87,6 @@ static void boot_jump_linux(bootm_headers_t *images)
* r8: 0
* r9: 0
*/
-#if defined(CONFIG_MPC85xx) || defined(CONFIG_440)
- #define EPAPR_MAGIC (0x45504150)
-#else
- #define EPAPR_MAGIC (0x65504150)
-#endif
-
debug (" Booting using OF flat tree...\n");
WATCHDOG_RESET ();
(*kernel) ((bd_t *)of_flat_tree, 0, 0, EPAPR_MAGIC,