+7
−12
+9
−17
+8
−16
+5
−15
Loading
Glen Turner reported that writing LFCR rather than the more
traditional CRLF causes issues with some terminals.
Since this aflicts many serial drivers, extract the common code
to a library function (uart_console_write) and arrange for each
driver to supply a "putchar" function.
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>