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>
This commit is contained in:
parent
915c4fc6fe
commit
59e691b909
|
@ -17,8 +17,6 @@ DECLARE_SPIN_LOCK(console_lock)
|
||||||
|
|
||||||
void do_putchar(unsigned char byte)
|
void do_putchar(unsigned char byte)
|
||||||
{
|
{
|
||||||
if (byte == '\n')
|
|
||||||
console_tx_byte('\r');
|
|
||||||
console_tx_byte(byte);
|
console_tx_byte(byte);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue