mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
hw/riscv: opentitan: Add the flash alias
OpenTitan has an alias of flash avaliable which is called virtual flash. Add support for that in the QEMU model. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Message-id: c9cfbd2dd840fd0076877b8ea4d6dcfce60db5e9.1625801868.git.alistair.francis@wdc.com
This commit is contained in:
parent
5ee257649f
commit
bb7e0cde3c
2 changed files with 8 additions and 0 deletions
|
@ -40,6 +40,7 @@ struct LowRISCIbexSoCState {
|
|||
|
||||
MemoryRegion flash_mem;
|
||||
MemoryRegion rom;
|
||||
MemoryRegion flash_alias;
|
||||
};
|
||||
|
||||
typedef struct OpenTitanState {
|
||||
|
@ -54,6 +55,7 @@ enum {
|
|||
IBEX_DEV_ROM,
|
||||
IBEX_DEV_RAM,
|
||||
IBEX_DEV_FLASH,
|
||||
IBEX_DEV_FLASH_VIRTUAL,
|
||||
IBEX_DEV_UART,
|
||||
IBEX_DEV_GPIO,
|
||||
IBEX_DEV_SPI,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue