mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-22 07:28:36 -07:00
At present create_fdt() calls htif_uses_elf_symbols() to determine
whether to insert a <reg> 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 dependency be adding a new parameter to create_fdt(),
whether custom HTIF base address is used. The flag will be set if
non ELF {firmware,kernel} image is given by user.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20221229091828.1945072-13-bmeng@tinylab.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
|
||
|---|---|---|
| .. | ||
| avr_usart.h | ||
| bcm2835_aux.h | ||
| cadence_uart.h | ||
| cmsdk-apb-uart.h | ||
| digic-uart.h | ||
| escc.h | ||
| goldfish_tty.h | ||
| ibex_uart.h | ||
| imx_serial.h | ||
| mchp_pfsoc_mmuart.h | ||
| nrf51_uart.h | ||
| parallel.h | ||
| pl011.h | ||
| renesas_sci.h | ||
| riscv_htif.h | ||
| serial.h | ||
| shakti_uart.h | ||
| sifive_uart.h | ||
| stm32f2xx_usart.h | ||
| xilinx_uartlite.h | ||