summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-power8/uart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-power8/uart.c b/src/mainboard/emulation/qemu-power8/uart.c
index 7c7797139d..27eb2f4f8f 100644
--- a/src/mainboard/emulation/qemu-power8/uart.c
+++ b/src/mainboard/emulation/qemu-power8/uart.c
@@ -49,6 +49,9 @@ void uart_fill_lb(void *data)
serial.baseaddr = 0;
serial.baud = 115200;
serial.regwidth = 1;
+ serial.input_hertz = uart_platform_refclk();
+ serial.uart_pci_addr = CONFIG_UART_PCI_ADDR;
lb_add_serial(&serial, data);
+
lb_add_console(LB_TAG_CONSOLE_SERIAL8250MEM, data);
}