diff options
author | Nikita Ermakov <coffe92@gmail.com> | 2020-01-24 16:47:32 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-01-25 10:54:21 +0530 |
commit | ac1c229b6124baf66b76982b2c82e4ca7ce9e2d5 (patch) | |
tree | cf18abb8da53cb2d3f05fd5c3468b081f97ab865 /platform | |
parent | 85647a1a76394ab2fe4305dfdccb439d657610c0 (diff) |
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.c | 4 |
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 */ |