Skip to content

Commit e79d27c

Browse files
lbmengalistair23
authored andcommitted
hw/riscv: sifive_e: Correct debug block size
Currently the debug region size is set to 0x100, but according to FE310-G000 and FE310-G002 manuals: FE310-G000: 0x100 - 0xFFF FE310-G002: 0x0 - 0xFFF Change the size to 0x1000 that applies to both. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Message-Id: <[email protected]> Signed-off-by: Alistair Francis <[email protected]>
1 parent 3e09396 commit e79d27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/riscv/sifive_e.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static const struct MemmapEntry {
5454
hwaddr base;
5555
hwaddr size;
5656
} sifive_e_memmap[] = {
57-
[SIFIVE_E_DEBUG] = { 0x0, 0x100 },
57+
[SIFIVE_E_DEBUG] = { 0x0, 0x1000 },
5858
[SIFIVE_E_MROM] = { 0x1000, 0x2000 },
5959
[SIFIVE_E_OTP] = { 0x20000, 0x2000 },
6060
[SIFIVE_E_CLINT] = { 0x2000000, 0x10000 },

0 commit comments

Comments
 (0)