Re: [PATCH v2 12/12] hw/riscv: spike: Decouple create_fdt() dependency to ELF loading

2023-01-09 Thread Alistair Francis
On Thu, Dec 29, 2022 at 8:33 PM Bin Meng wrote: > > At present create_fdt() calls htif_uses_elf_symbols() to determine > whether to insert a property for the HTIF. This unfortunately > creates a hidden dependency to riscv_load_{firmware,kernel} that > create_fdt() must be called after the ELF {fi

Re: [PATCH v2 12/12] hw/riscv: spike: Decouple create_fdt() dependency to ELF loading

2022-12-29 Thread Daniel Henrique Barboza
On 12/29/22 07:31, Bin Meng wrote: At present create_fdt() calls htif_uses_elf_symbols() to determine whether to insert a property for the HTIF. This unfortunately creates a hidden dependency to riscv_load_{firmware,kernel} that create_fdt() must be called after the ELF {firmware,kernel} imag

[PATCH v2 12/12] hw/riscv: spike: Decouple create_fdt() dependency to ELF loading

2022-12-29 Thread Bin Meng
At present create_fdt() calls htif_uses_elf_symbols() to determine whether to insert a property for the HTIF. This unfortunately creates a hidden dependency to riscv_load_{firmware,kernel} that create_fdt() must be called after the ELF {firmware,kernel} image has been loaded. Decouple such depend