powerpc/85xx: Fix plat_mp_up() disabling of BPTR for CoreNet Platforms
authorEd Swarthout <Ed.Swarthout@freescale.com>
Fri, 4 Mar 2011 00:28:14 +0000 (18:28 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Sat, 5 Mar 2011 16:16:24 +0000 (10:16 -0600)
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

index a019b1b..6c0da83 100644 (file)
@@ -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