Patchwork [U-Boot] p1022ds: fix pixis_reset altbank

login
register
mail settings
Submitter York Sun
Date Jan. 26, 2011, 6:30 p.m.
Message ID <1296066600-21770-1-git-send-email-yorksun@freescale.com>
Download mbox | patch
Permalink /patch/80539/
State Accepted
Commit 2906845a1faf52a1db177b153f4353be804ef421
Delegated to: Kumar Gala
Headers show

Comments

York Sun - Jan. 26, 2011, 6:30 p.m.
Fix the bits for ngpixis to reset to alternative bank. Originally the mask
was 0xE0, which left it possible to reset to bank 3 if DIP switch is set to
boot from bank 1. Changing to 0xF0 gurantees to reset to bank 2.

Signed-off-by: York Sun <yorksun@freescale.com>
---
 include/configs/P1022DS.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Kumar Gala - Jan. 27, 2011, 5:46 a.m.
On Jan 26, 2011, at 12:30 PM, York Sun wrote:

> Fix the bits for ngpixis to reset to alternative bank. Originally the mask
> was 0xE0, which left it possible to reset to bank 3 if DIP switch is set to
> boot from bank 1. Changing to 0xF0 gurantees to reset to bank 2.
> 
> Signed-off-by: York Sun <yorksun@freescale.com>
> ---
> include/configs/P1022DS.h |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

applied

- k

Patch

diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index f310768..cb24041 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -151,7 +151,7 @@ 
 #define CONFIG_SYS_OR2_PRELIM	(OR_AM_32KB | 0x6ff7)
 
 #define PIXIS_LBMAP_SWITCH	7
-#define PIXIS_LBMAP_MASK	0xE0
+#define PIXIS_LBMAP_MASK	0xF0
 #define PIXIS_LBMAP_ALTBANK	0x20
 
 #define CONFIG_SYS_INIT_RAM_LOCK