riscv/boot: Add a missing header include
As the functions declared in this header use the symbol_fn_t typedef itself declared in "hw/loader.h", we need to include it here to make the header file self-contained. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Bin Meng <bin.meng@windriver.com>
This commit is contained in:
parent
0869490b1c
commit
757e99b1eb
@ -21,6 +21,7 @@
|
|||||||
#define RISCV_BOOT_H
|
#define RISCV_BOOT_H
|
||||||
|
|
||||||
#include "exec/cpu-defs.h"
|
#include "exec/cpu-defs.h"
|
||||||
|
#include "hw/loader.h"
|
||||||
|
|
||||||
void riscv_find_and_load_firmware(MachineState *machine,
|
void riscv_find_and_load_firmware(MachineState *machine,
|
||||||
const char *default_machine_firmware,
|
const char *default_machine_firmware,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user