]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/common/pixis.c
Merge branch 'mpc8610'
[u-boot] / board / freescale / common / pixis.c
index fd99a938c0f87830bb96004a0622e3e6868258e5..45dcf4dab03d425e9d867a6a1a7badef747d7237 100644 (file)
@@ -207,13 +207,16 @@ void read_from_px_regs_altbank(int set)
        out8(PIXIS_BASE + PIXIS_VCFGEN1, tmp);
 }
 
+#ifndef CFG_PIXIS_VBOOT_MASK
+#define CFG_PIXIS_VBOOT_MASK   0x40
+#endif
 
 void set_altbank(void)
 {
        u8 tmp;
 
        tmp = in8(PIXIS_BASE + PIXIS_VBOOT);
-       tmp ^= 0x40;
+       tmp ^= CFG_PIXIS_VBOOT_MASK;
 
        out8(PIXIS_BASE + PIXIS_VBOOT, tmp);
 }