diff options
Diffstat (limited to 'payloads/libpayload/drivers/serial/8250.c')
-rw-r--r-- | payloads/libpayload/drivers/serial/8250.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/serial/8250.c b/payloads/libpayload/drivers/serial/8250.c index a4c1b1a2ab..0651f5201f 100644 --- a/payloads/libpayload/drivers/serial/8250.c +++ b/payloads/libpayload/drivers/serial/8250.c @@ -137,6 +137,8 @@ void serial_putchar(unsigned int c) return; while ((serial_read_reg(0x05) & 0x20) == 0) ; serial_write_reg(c, 0x00); + if (c == '\n') + serial_putchar('\r'); } int serial_havechar(void) |