From ac1c229b6124baf66b76982b2c82e4ca7ce9e2d5 Mon Sep 17 00:00:00 2001
From: Nikita Ermakov <coffe92@gmail.com>
Date: Fri, 24 Jan 2020 16:47:32 +0300
Subject: 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>
---
 platform/qemu/sifive_u/platform.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'platform')

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 */
 
-- 
cgit v1.2.3