On Thu, Dec 22, 2022 at 2:24 AM Daniel Henrique Barboza <dbarb...@ventanamicro.com> wrote: > > The sifive_u, spike and virt machines are writing the 'bootargs' FDT > node during their respective create_fdt(). > > Given that bootargs is written only when '-append' is used, and this > option is only allowed with the '-kernel' option, which in turn is > already being check before executing riscv_load_kernel(), write
being checked > 'bootargs' in the same code path as riscv_load_kernel(). > > Cc: Palmer Dabbelt <pal...@dabbelt.com> > Signed-off-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com> > --- > hw/riscv/sifive_u.c | 11 +++++------ > hw/riscv/spike.c | 9 +++++---- > hw/riscv/virt.c | 11 +++++------ > 3 files changed, 15 insertions(+), 16 deletions(-) > Reviewed-by: Bin Meng <bm...@tinylab.org>