From 59e691b9097aa65d8b7d7eebee2ea72559d34273 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 21 Mar 2015 21:49:27 -0500 Subject: [PATCH] console: Convert cbmem log line endings to UNIX standard The cbmem console output retains usage of the CRLF line ending. Converting line endings to the standard UNIX LF avoids the need to use dos2unix before running analysis on log files. Change-Id: I74a04ee69836d82640c94f250465acb4d1ee1071 Signed-off-by: Timothy Pearson Reviewed-on: http://review.coreboot.org/8857 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand Reviewed-by: Ronald G. Minnich Reviewed-by: Alexandru Gagniuc --- src/console/printk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/console/printk.c b/src/console/printk.c index b6777e1475..10a7da21f3 100644 --- a/src/console/printk.c +++ b/src/console/printk.c @@ -17,8 +17,6 @@ DECLARE_SPIN_LOCK(console_lock) void do_putchar(unsigned char byte) { - if (byte == '\n') - console_tx_byte('\r'); console_tx_byte(byte); }