summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorNikita Ermakov <coffe92@gmail.com>2020-01-24 16:47:32 +0300
committerAnup Patel <anup@brainfault.org>2020-01-25 08:24:21 +0300
commitac1c229b6124baf66b76982b2c82e4ca7ce9e2d5 (patch)
treecf18abb8da53cb2d3f05fd5c3468b081f97ab865 /platform
parent85647a1a76394ab2fe4305dfdccb439d657610c0 (diff)
downloadopensbi-ac1c229b6124baf66b76982b2c82e4ca7ce9e2d5.tar.xz
platform: Update UART base addresses for qemu/sifve_u
In the QEMU [1] there was a change of the UART base addresses for sifive_u machine to match the hardware. Make corresponding changes in the opensbi for qemu/sifive_u platform. [1] https://git.qemu.org/?p=qemu.git;a=commitdiff;h=4b55bc2b5f7ff065da5d2b813ee5153c598d3764 Signed-off-by: Nikita Ermakov <coffe92@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'platform')
-rw-r--r--platform/qemu/sifive_u/platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/qemu/sifive_u/platform.c b/platform/qemu/sifive_u/platform.c
index b021ca2..47d6b23 100644
--- a/platform/qemu/sifive_u/platform.c
+++ b/platform/qemu/sifive_u/platform.c
@@ -29,8 +29,8 @@
#define SIFIVE_U_PLIC_NUM_SOURCES 0x35
#define SIFIVE_U_PLIC_NUM_PRIORITIES 7
-#define SIFIVE_U_UART0_ADDR 0x10013000
-#define SIFIVE_U_UART1_ADDR 0x10023000
+#define SIFIVE_U_UART0_ADDR 0x10010000
+#define SIFIVE_U_UART1_ADDR 0x10011000
/* clang-format on */