Re: [PATCH] hw/riscv: virt: Generate fw_cfg DT node correctly

2022-05-31 Thread Alistair Francis
On Fri, May 27, 2022 at 6:35 AM Atish Patra wrote: > > 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 l

Re: [PATCH] hw/riscv: virt: Generate fw_cfg DT node correctly

2022-05-31 Thread Alistair Francis
On Fri, May 27, 2022 at 6:35 AM Atish Patra wrote: > > 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 l

[PATCH] hw/riscv: virt: Generate fw_cfg DT node correctly

2022-05-26 Thread Atish Patra
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 --- h