mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
riscv/sifive_u: Add the start-in-flash property
Add a property that when set to true QEMU will jump from the ROM code to the start of flash memory instead of DRAM which is the default behaviour. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
This commit is contained in:
parent
687caef13d
commit
fc41ae230e
2 changed files with 31 additions and 1 deletions
|
@ -57,6 +57,8 @@ typedef struct SiFiveUState {
|
|||
|
||||
void *fdt;
|
||||
int fdt_size;
|
||||
|
||||
bool start_in_flash;
|
||||
} SiFiveUState;
|
||||
|
||||
enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue