diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-03-21 21:49:27 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2015-03-25 17:25:14 +0100 |
commit | 59e691b9097aa65d8b7d7eebee2ea72559d34273 (patch) | |
tree | bcdbf517c9445ed0ccdb2fbbea5f7707f1acdac6 | |
parent | 915c4fc6fe2a1121e8de61c417019d9c2c18b120 (diff) | |
download | coreboot-59e691b9097aa65d8b7d7eebee2ea72559d34273.tar.xz |
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@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/8857
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r-- | src/console/printk.c | 2 |
1 files changed, 0 insertions, 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); } |