Skip to contentSkip to conversation

powerpc/85xx: Fix plat_mp_up() disabling of BPTR for CoreNet Platforms

PATCH New Kumar Gala 1 participant 2 messages Mar 5, 2011 – Mar 7, 2011 PowerPC

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/85xx: Fix plat_mp_up() disabling of BPTR for CoreNet Platforms

From: Ed Swarthout <[email protected]>

Copying directly from ECM/PQ3 is not correct for how CoreNet based platforms handle boot page translation.

---
 arch/powerpc/cpu/mpc85xx/mp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/cpu/mpc85xx/mp.c +2 -2
index a019b1b..6c0da83 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright 2008-2010 Freescale Semiconductor, Inc.
+ * Copyright 2008-2011 Freescale Semiconductor, Inc.
  *
  * See file CREDITS for list of people who contributed to this
  * project.
@@ -288,7 +288,7 @@ static void plat_mp_up(unsigned long bootpg)
 	 * unusable for normal operation but it does allow OSes to easily
 	 * reset a processor core to put it back into U-Boot's spinloop.
 	 */
-	clrbits_be32(&ecm->bptr, 0x80000000);
+	clrbits_be32(&ccm->bstrar, LAW_EN);
 #endif
 }
 #else
Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Fix plat_mp_up() disabling of BPTR for CoreNet Platforms

Quoted 10 lines · Kumar Gala

From: Ed Swarthout <[email protected]>

Copying directly from ECM/PQ3 is not correct for how CoreNet based platforms handle boot page translation.

---
arch/powerpc/cpu/mpc85xx/mp.c | 4 ++--

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

applied

- k