From: York Sun Date: Wed, 26 Jan 2011 18:30:00 +0000 (-0800) Subject: p1022ds: fix pixis_reset altbank X-Git-Tag: v2011.03-rc1~5^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2906845a1faf52a1db177b153f4353be804ef421;p=u-boot 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 Signed-off-by: Kumar Gala --- diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index f31076858e..cb240418fe 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