[coreboot-gerrit] Patch set updated for coreboot: 1172186 console: Convert cbmem log line endings to UNIX standard

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Sun Mar 22 20:11:06 CET 2015


Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8857

-gerrit

commit 1172186e06373f31bb7023be8872bf0151f9815c
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Sat Mar 21 21:49:27 2015 -0500

    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 <tpearson at raptorengineeringinc.com>
---
 src/console/printk.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/console/printk.c b/src/console/printk.c
index b6777e1..10a7da2 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);
 }
 



More information about the coreboot-gerrit mailing list