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 <[email protected]> --- 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 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

