summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq40xx/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/ipq40xx/uart.c')
-rw-r--r--src/soc/qualcomm/ipq40xx/uart.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/qualcomm/ipq40xx/uart.c b/src/soc/qualcomm/ipq40xx/uart.c
index 95e2eab16d..6e5bac624b 100644
--- a/src/soc/qualcomm/ipq40xx/uart.c
+++ b/src/soc/qualcomm/ipq40xx/uart.c
@@ -292,7 +292,9 @@ void uart_fill_lb(void *data)
serial.baseaddr = (uint32_t)UART1_DM_BASE;
serial.baud = get_uart_baudrate();
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);
}