Patchwork [U-Boot] powerpc/85xx: Fix plat_mp_up() disabling of BPTR for CoreNet Platforms

login
register
mail settings
Submitter Kumar Gala
Date March 5, 2011, 4:18 p.m.
Message ID <1299341936-20964-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/85535/
State Accepted
Commit e81241af5ab2d084714b9d5617ec6a5cf9dd01ff
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - March 5, 2011, 4:18 p.m.
From: Ed Swarthout <Ed.Swarthout@freescale.com>

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

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/cpu/mpc85xx/mp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Kumar Gala - March 7, 2011, 3:12 p.m.
On Mar 5, 2011, at 10:18 AM, Kumar Gala wrote:

> From: Ed Swarthout <Ed.Swarthout@freescale.com>
> 
> Copying directly from ECM/PQ3 is not correct for how CoreNet based
> platforms handle boot page translation.
> 
> Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> arch/powerpc/cpu/mpc85xx/mp.c |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

applied

- k

Patch

diff --git a/arch/powerpc/cpu/mpc85xx/mp.c b/arch/powerpc/cpu/mpc85xx/mp.c
index a019b1b..6c0da83 100644
--- a/arch/powerpc/cpu/mpc85xx/mp.c
+++ b/arch/powerpc/cpu/mpc85xx/mp.c
@@ -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