riscv/opentitan: Fix the ROM size
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reported-by: Damien Hedde <damien.hedde@greensocs.com>
This commit is contained in:
parent
2761db5fc2
commit
888c9af23f
|
@ -25,12 +25,13 @@
|
||||||
#include "hw/misc/unimp.h"
|
#include "hw/misc/unimp.h"
|
||||||
#include "hw/riscv/boot.h"
|
#include "hw/riscv/boot.h"
|
||||||
#include "exec/address-spaces.h"
|
#include "exec/address-spaces.h"
|
||||||
|
#include "qemu/units.h"
|
||||||
|
|
||||||
static const struct MemmapEntry {
|
static const struct MemmapEntry {
|
||||||
hwaddr base;
|
hwaddr base;
|
||||||
hwaddr size;
|
hwaddr size;
|
||||||
} ibex_memmap[] = {
|
} ibex_memmap[] = {
|
||||||
[IBEX_ROM] = { 0x00008000, 0xc000 },
|
[IBEX_ROM] = { 0x00008000, 16 * KiB },
|
||||||
[IBEX_RAM] = { 0x10000000, 0x10000 },
|
[IBEX_RAM] = { 0x10000000, 0x10000 },
|
||||||
[IBEX_FLASH] = { 0x20000000, 0x80000 },
|
[IBEX_FLASH] = { 0x20000000, 0x80000 },
|
||||||
[IBEX_UART] = { 0x40000000, 0x10000 },
|
[IBEX_UART] = { 0x40000000, 0x10000 },
|
||||||
|
|
Loading…
Reference in New Issue