diff options
author | Atish Patra <atishp@rivosinc.com> | 2022-05-26 13:35:00 -0700 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2022-06-10 09:31:42 +1000 |
commit | f9a461b2d3b8ef4f36b7891eb4040693ee071719 (patch) | |
tree | 0672a1fb1eb83389d3e4947ad2c5728e9b858f80 /tests/qtest/q35-test.c | |
parent | de799beba7f927b2a1ed38128309316511311605 (diff) |
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 'tests/qtest/q35-test.c')
0 files changed, 0 insertions, 0 deletions