console: Bring back newline translation
Change-Id: Ib42f4a9eeb48dfb1a04e332aeb8f83dc4c4eef91 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/10188 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
2d3964ec29
commit
d4a72f724f
|
@ -43,6 +43,14 @@ void console_tx_byte(unsigned char byte)
|
|||
__spkmodem_tx_byte(byte);
|
||||
__qemu_debugcon_tx_byte(byte);
|
||||
|
||||
/* Some consoles want newline conversion
|
||||
* to keep terminals happy.
|
||||
*/
|
||||
if (byte == '\n') {
|
||||
__uart_tx_byte('\r');
|
||||
__usb_tx_byte('\r');
|
||||
}
|
||||
|
||||
__uart_tx_byte(byte);
|
||||
__ne2k_tx_byte(byte);
|
||||
__usb_tx_byte(byte);
|
||||
|
|
Loading…
Reference in New Issue