summary refs log tree commit diff stats
path: root/hw/intc/sifive_plic.c
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2022-05-26 13:35:00 -0700
committerAlistair Francis <alistair.francis@wdc.com>2022-06-10 09:31:42 +1000
commitf9a461b2d3b8ef4f36b7891eb4040693ee071719 (patch)
tree0672a1fb1eb83389d3e4947ad2c5728e9b858f80 /hw/intc/sifive_plic.c
parentde799beba7f927b2a1ed38128309316511311605 (diff)
downloadfocaccia-qemu-f9a461b2d3b8ef4f36b7891eb4040693ee071719.tar.gz
focaccia-qemu-f9a461b2d3b8ef4f36b7891eb4040693ee071719.zip
hw/riscv: virt: Generate fw_cfg DT node correctly
fw_cfg DT node is generated after the create_fdt without any check
if the DT is being loaded from the commandline. This results in
FDT_ERR_EXISTS error if dtb is loaded from the commandline.

Generate fw_cfg node only if the DT is not loaded from the commandline.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220526203500.847165-1-atishp@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/intc/sifive_plic.c')
0 files changed, 0 insertions, 0 deletions