Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9932
-gerrit
commit 475c8763c184290881a244e3a720f8ef31df5d81 Author: Aaron Durbin adurbin@chromium.org Date: Tue Mar 31 20:32:41 2015 -0500
uart8250io: add '\r' before '\n'
Make serial output prettier now.
Change-Id: Ieeffd1a25e58dfbd498539ce0ef51ef746eab76f Signed-off-by: Aaron Durbin adurbin@chromium.org --- src/drivers/uart/uart8250io.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/drivers/uart/uart8250io.c b/src/drivers/uart/uart8250io.c index 2cb586e..6e7174f 100644 --- a/src/drivers/uart/uart8250io.c +++ b/src/drivers/uart/uart8250io.c @@ -122,6 +122,8 @@ void uart_init(int idx)
void uart_tx_byte(int idx, unsigned char data) { + if (data == '\n') + uart8250_tx_byte(uart_platform_base(idx), '\r'); uart8250_tx_byte(uart_platform_base(idx), data); }