summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-armv7/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-armv7/uart.c')
-rw-r--r--src/mainboard/emulation/qemu-armv7/uart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/uart.c b/src/mainboard/emulation/qemu-armv7/uart.c
index 29887777d7..dfe5d0ac12 100644
--- a/src/mainboard/emulation/qemu-armv7/uart.c
+++ b/src/mainboard/emulation/qemu-armv7/uart.c
@@ -39,6 +39,10 @@ static const struct console_driver pl011_uart_console __console = {
.tx_flush = pl011_uart_tx_flush,
};
+uint32_t uartmem_getbaseaddr(void)
+{
+ return VEXPRESS_UART0_IO_ADDRESS;
+}
#else
void uart_init(void)
{