Skip to content

Commit 4909391

Browse files
lbmengalistair23
authored andcommitted
hw/riscv: sifive_u: Sort the SoC memmap table entries
Move the flash and DRAM to the end of the SoC memmap table. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Message-id: [email protected] Message-Id: <[email protected]> Signed-off-by: Alistair Francis <[email protected]>
1 parent 17aad9f commit 4909391

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hw/riscv/sifive_u.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ static const struct MemmapEntry {
8080
[SIFIVE_U_UART1] = { 0x10011000, 0x1000 },
8181
[SIFIVE_U_GPIO] = { 0x10060000, 0x1000 },
8282
[SIFIVE_U_OTP] = { 0x10070000, 0x1000 },
83-
[SIFIVE_U_FLASH0] = { 0x20000000, 0x10000000 },
84-
[SIFIVE_U_DRAM] = { 0x80000000, 0x0 },
8583
[SIFIVE_U_GEM] = { 0x10090000, 0x2000 },
8684
[SIFIVE_U_GEM_MGMT] = { 0x100a0000, 0x1000 },
85+
[SIFIVE_U_FLASH0] = { 0x20000000, 0x10000000 },
86+
[SIFIVE_U_DRAM] = { 0x80000000, 0x0 },
8787
};
8888

8989
#define OTP_SERIAL 1

0 commit comments

Comments
 (0)