summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-sbsa/mmio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-sbsa/mmio.c')
-rw-r--r--src/mainboard/emulation/qemu-sbsa/mmio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-sbsa/mmio.c b/src/mainboard/emulation/qemu-sbsa/mmio.c
new file mode 100644
index 0000000000..6b50856b94
--- /dev/null
+++ b/src/mainboard/emulation/qemu-sbsa/mmio.c
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <console/uart.h>
+#include <mainboard/addressmap.h>
+
+uintptr_t uart_platform_base(unsigned int idx)
+{
+ return SBSA_UART_BASE;
+}