firmware/bootloader: prevent premature entry of SuperCIC pair mode

This commit is contained in:
Maximilian Rehkopf 2011-08-30 15:38:15 +02:00
parent a0ae977945
commit 6cf369932e

View File

@ -27,7 +27,8 @@ int (*chain)(void) = (void*)(FW_START+0x000001c5);
int main(void) {
LPC_GPIO2->FIODIR = BV(0) | BV(1) | BV(2);
LPC_GPIO1->FIODIR = 0;
BITBAND(SNES_CIC_PAIR_REG->FIOSET, SNES_CIC_PAIR_BIT) = 1;
LPC_GPIO1->FIODIR = BV(25);
LPC_GPIO0->FIODIR = BV(16);
/* connect UART3 on P0[25:26] + SSP0 on P0[15:18] + MAT3.0 on P0[10] */