summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-07-21 16:50:22 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-07-29 08:53:37 -0500
commit70bfb032ec592c99f78791305641b22f85fb52db (patch)
treed6837716e7f33204a61025a20f59f336099740c7 /arch
parentce0f709bcd52bbe5f432771ad3a18bd3d5a6747f (diff)
downloadu-boot-imx-70bfb032ec592c99f78791305641b22f85fb52db.zip
u-boot-imx-70bfb032ec592c99f78791305641b22f85fb52db.tar.gz
u-boot-imx-70bfb032ec592c99f78791305641b22f85fb52db.tar.bz2
powerpc/85xx: Fix setting of EPAPR_MAGIC value
Had a typo in the ifdef for 85xx, should be CONFIG_MPC85xx for it to get triggered. Was pull in the non-BookE magic number. Reported-by: John Cortell Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/lib/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c
index 4e0cb8f..05adada 100644
--- a/arch/powerpc/lib/bootm.c
+++ b/arch/powerpc/lib/bootm.c
@@ -87,7 +87,7 @@ static void boot_jump_linux(bootm_headers_t *images)
* r8: 0
* r9: 0
*/
-#if defined(CONFIG_85xx) || defined(CONFIG_440)
+#if defined(CONFIG_MPC85xx) || defined(CONFIG_440)
#define EPAPR_MAGIC (0x45504150)
#else
#define EPAPR_MAGIC (0x65504150)