projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17aad9f
)
hw/riscv: sifive_u: Sort the SoC memmap table entries
author
Bin Meng
<bin.meng@windriver.com>
Tue, 16 Jun 2020 00:50:40 +0000
(17:50 -0700)
committer
Alistair Francis
<alistair.francis@wdc.com>
Fri, 19 Jun 2020 15:25:27 +0000
(08:25 -0700)
Move the flash and DRAM to the end of the SoC memmap table.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id:
1592268641
-7478-5-git-send-email-bmeng.cn@gmail.com
Message-Id: <
1592268641
-7478-5-git-send-email-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/sifive_u.c
patch
|
blob
|
history
diff --git
a/hw/riscv/sifive_u.c
b/hw/riscv/sifive_u.c
index eb767aa8639ca5f1d78d779ddba20db999ba79f2..b9d0a6901aea4dc017f4baef208f95e1a7e27291 100644
(file)
--- a/
hw/riscv/sifive_u.c
+++ b/
hw/riscv/sifive_u.c
@@
-80,10
+80,10
@@
static const struct MemmapEntry {
[SIFIVE_U_UART1] = { 0x10011000, 0x1000 },
[SIFIVE_U_GPIO] = { 0x10060000, 0x1000 },
[SIFIVE_U_OTP] = { 0x10070000, 0x1000 },
- [SIFIVE_U_FLASH0] = { 0x20000000, 0x10000000 },
- [SIFIVE_U_DRAM] = { 0x80000000, 0x0 },
[SIFIVE_U_GEM] = { 0x10090000, 0x2000 },
[SIFIVE_U_GEM_MGMT] = { 0x100a0000, 0x1000 },
+ [SIFIVE_U_FLASH0] = { 0x20000000, 0x10000000 },
+ [SIFIVE_U_DRAM] = { 0x80000000, 0x0 },
};
#define OTP_SERIAL 1