/* Set the boot bank to the alternate bank  */
void cpld_set_altbank(void)
/* Set the boot bank to the alternate bank  */
void cpld_set_altbank(void)
{
	u8 reg = CPLD_READ(flash_csr);
	reg = (reg & ~CPLD_BANK_SEL_MASK) | CPLD_LBMAP_ALTBANK;
	CPLD_WRITE(flash_csr, reg);
	CPLD_WRITE(reset_ctl1, CPLD_LBMAP_RESET);
}