[U-Boot] [PATCH] p1022ds: fix pixis_reset altbank
York Sun
yorksun at freescale.com
Wed Jan 26 19:30:00 CET 2011
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 at freescale.com>
---
include/configs/P1022DS.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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
--
1.7.0.4
More information about the U-Boot
mailing list