Skip to contentSkip to conversation

powerpc/85xx: Fix setting of EPAPR_MAGIC value

PATCH New Kumar Gala 1 participant 2 messages Jul 21, 2011 – Jul 27, 2011 PowerPC

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 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
---
 arch/powerpc/lib/bootm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/lib/bootm.c +1 -1
index e01787d..5702b0c 100644
@@ -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)
Signature · 1 line
1.7.3.4
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Fix setting of EPAPR_MAGIC value

Quoted 8 lines · Kumar Gala

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

---
arch/powerpc/lib/bootm.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

applied to 85xx

- k