From: Matthew McClintock <msm@freescale.com>
Date: Fri, 25 Feb 2011 22:20:11 +0000 (-0600)
Subject: powerpc/85xx: Fix pixis_reset altbank mask on MPC8536DS
X-Git-Tag: v2025.01-rc5-pxa1908~19625
X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=509e19cab43ba38311749eba5ceebd806116ce38;p=u-boot.git

powerpc/85xx: Fix pixis_reset altbank mask on MPC8536DS

Currently, pixis_reset altbank does not work properly. This patch
uses the correct mask to boot into the alternate bank.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---

diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index 11ee650418..13300de3ea 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -311,7 +311,7 @@
 /* old pixis referenced names */
 #define PIXIS_VCLKH		0x19	/* VELA VCLKH register */
 #define PIXIS_VCLKL		0x1A	/* VELA VCLKL register */
-#define CONFIG_SYS_PIXIS_VBOOT_MASK	0xc0
+#define CONFIG_SYS_PIXIS_VBOOT_MASK	0x4e
 
 #define CONFIG_SYS_INIT_RAM_LOCK	1
 #define CONFIG_SYS_INIT_RAM_ADDR	0xffd00000	/* Initial L1 address */