diff options
Diffstat (limited to 'src/mainboard/emulation/qemu-riscv/uart.c')
-rw-r--r-- | src/mainboard/emulation/qemu-riscv/uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-riscv/uart.c b/src/mainboard/emulation/qemu-riscv/uart.c index 6647cde8ea..207f4412b8 100644 --- a/src/mainboard/emulation/qemu-riscv/uart.c +++ b/src/mainboard/emulation/qemu-riscv/uart.c @@ -53,6 +53,7 @@ void uart_fill_lb(void *data) serial.type = LB_SERIAL_TYPE_MEMORY_MAPPED; serial.baseaddr = 0x3f8; serial.baud = 115200; + serial.regwidth = 1; lb_add_serial(&serial, data); lb_add_console(LB_TAG_CONSOLE_SERIAL8250MEM, data); } |