mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/riscv/sifive_u: use 'fdt' from MachineState
The MachineState object provides a 'fdt' pointer that is already being used by other RISC-V machines, and it's also used by the 'dumpdtb' QMP command. Remove the 'fdt' pointer from SiFiveUState and use MachineState::fdt instead. Cc: Palmer Dabbelt <palmer@dabbelt.com> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng@tinylab.org> Message-Id: <20230102115241.25733-4-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
3139929da4
commit
60c7dfa2a3
2 changed files with 6 additions and 12 deletions
|
@ -69,9 +69,6 @@ typedef struct SiFiveUState {
|
|||
/*< public >*/
|
||||
SiFiveUSoCState soc;
|
||||
|
||||
void *fdt;
|
||||
int fdt_size;
|
||||
|
||||
bool start_in_flash;
|
||||
uint32_t msel;
|
||||
uint32_t serial;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue