diff options
author | Atish Patra | 2022-05-26 22:35:00 +0200 |
---|---|---|
committer | Alistair Francis | 2022-06-10 01:31:42 +0200 |
commit | f9a461b2d3b8ef4f36b7891eb4040693ee071719 (patch) | |
tree | 0672a1fb1eb83389d3e4947ad2c5728e9b858f80 /hw/core/generic-loader.c | |
parent | target/riscv: add support for zmmul extension v0.1 (diff) | |
download | qemu-f9a461b2d3b8ef4f36b7891eb4040693ee071719.tar.gz qemu-f9a461b2d3b8ef4f36b7891eb4040693ee071719.tar.xz 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/core/generic-loader.c')
0 files changed, 0 insertions, 0 deletions