]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
p1022ds: fix pixis_reset altbank
authorYork Sun <yorksun@freescale.com>
Wed, 26 Jan 2011 18:30:00 +0000 (10:30 -0800)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 27 Jan 2011 05:43:57 +0000 (23:43 -0600)
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>
include/configs/P1022DS.h

index f31076858ea956a1158ac4abd2e0f506bdd3f797..cb240418fe6b8277b98a1eb4334220f7f71cfcdb 100644 (file)
 #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