mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/riscv: sifive_u: Add a new property msel for MSEL pin state
On SiFive FU540 SoC, the value stored at physical address 0x1000 stores the MSEL pin state that is used to control the next boot location that ROM codes jump to. Add a new property msel to sifive_u machine for this. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 1591625864-31494-12-git-send-email-bmeng.cn@gmail.com Message-Id: <1591625864-31494-12-git-send-email-bmeng.cn@gmail.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
3e9667cdaa
commit
cfa32630d9
2 changed files with 8 additions and 0 deletions
|
@ -63,6 +63,7 @@ typedef struct SiFiveUState {
|
|||
int fdt_size;
|
||||
|
||||
bool start_in_flash;
|
||||
uint32_t msel;
|
||||
uint32_t serial;
|
||||
} SiFiveUState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue