瀏覽代碼

p1022ds: fix pixis_reset altbank

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>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
York Sun 14 年之前
父節點
當前提交
2906845a1f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/configs/P1022DS.h

+ 1 - 1
include/configs/P1022DS.h

@@ -151,7 +151,7 @@
 #define CONFIG_SYS_OR2_PRELIM	(OR_AM_32KB | 0x6ff7)
 #define CONFIG_SYS_OR2_PRELIM	(OR_AM_32KB | 0x6ff7)
 
 
 #define PIXIS_LBMAP_SWITCH	7
 #define PIXIS_LBMAP_SWITCH	7
-#define PIXIS_LBMAP_MASK	0xE0
+#define PIXIS_LBMAP_MASK	0xF0
 #define PIXIS_LBMAP_ALTBANK	0x20
 #define PIXIS_LBMAP_ALTBANK	0x20
 
 
 #define CONFIG_SYS_INIT_RAM_LOCK
 #define CONFIG_SYS_INIT_RAM_LOCK