summaryrefslogtreecommitdiffstats
path: root/src/core/uart.c
Commit message (Collapse)AuthorAgeFilesLines
* [serial] Check for UART existence in uart_select()Michael Brown2015-07-311-7/+25
| | | | | | | | | | | Check for existence of the UART in uart_select(), not just in uart_init(). This allows uart_select() to refuse to set a non-working address in uart->base, which in turns means that the serial console code will not attempt to use a non-existent UART. Reported-by: Torgeir Wulfsberg <Torgeir.Wulfsberg@kongsberg.com> Reported-by: Ján ONDREJ (SAL) <ondrejj@salstar.sk> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [serial] Add general abstraction of a 16550-compatible UARTMichael Brown2015-06-291-0/+135
Signed-off-by: Michael Brown <mcb30@ipxe.org>