Re: [PATCH 07/10] hw/riscv: simplify riscv_load_fdt()

2023-01-11 Thread Philippe Mathieu-Daudé
On 11/1/23 18:09, Daniel Henrique Barboza wrote: All callers of riscv_load_fdt() are using machine->ram_size as 'mem_size' and the fdt is always retrievable via machine->fdt. Signed-off-by: Daniel Henrique Barboza --- hw/riscv/boot.c| 4 +++- hw/riscv/microchip_pfsoc.c | 4 ++--

[PATCH 07/10] hw/riscv: simplify riscv_load_fdt()

2023-01-11 Thread Daniel Henrique Barboza
All callers of riscv_load_fdt() are using machine->ram_size as 'mem_size' and the fdt is always retrievable via machine->fdt. Signed-off-by: Daniel Henrique Barboza --- hw/riscv/boot.c| 4 +++- hw/riscv/microchip_pfsoc.c | 4 ++-- hw/riscv/sifive_u.c| 3 +-- hw/riscv/spike.c