Commit a67d2586 authored by Russell King's avatar Russell King

[ARM] Make the assabet machine always use the same uart mapping.

Traditionally, the Assabet reverses its mapping of UART1 and UART3
when the Neponset board is connected.  This can be (a) confusing
and (b) annoying when the boot loader uses UART1.  We therefore
have a fixed mapping between the ttySA names and the physical
UARTs on this platform.
parent 62dadef4
...@@ -302,21 +302,24 @@ static void __init assabet_map_io(void) ...@@ -302,21 +302,24 @@ static void __init assabet_map_io(void)
*/ */
neponset_map_io(); neponset_map_io();
#endif #endif
} else {
sa1100_register_uart_fns(&assabet_port_fns);
}
/* /*
* When Neponset is attached, the first UART should be * When Neponset is attached, the first UART should be
* UART3. That's what Angel is doing and many documents * UART3. That's what Angel is doing and many documents
* are stating this. * are stating this.
*
* We do the Neponset mapping even if Neponset support * We do the Neponset mapping even if Neponset support
* isn't compiled in so the user will still get something on * isn't compiled in so the user will still get something on
* the expected physical serial port. * the expected physical serial port.
*
* We no longer do this; not all boot loaders support it,
* and UART3 appears to be somewhat unreliable with blob.
*/ */
sa1100_register_uart(0, 3); sa1100_register_uart(0, 1);
sa1100_register_uart(2, 1); sa1100_register_uart(2, 3);
} else {
sa1100_register_uart_fns(&assabet_port_fns);
sa1100_register_uart(0, 1); /* com port */
sa1100_register_uart(2, 3); /* radio module */
}
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment