summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-03-21 21:49:27 -0500
committerAaron Durbin <adurbin@google.com>2015-03-25 17:25:14 +0100
commit59e691b9097aa65d8b7d7eebee2ea72559d34273 (patch)
treebcdbf517c9445ed0ccdb2fbbea5f7707f1acdac6 /src/console
parent915c4fc6fe2a1121e8de61c417019d9c2c18b120 (diff)
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>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/printk.c2
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);
}