[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 1/9] riscv/boot: Add a missing header include

From: Alistair Francis
Subject: [PATCH v3 1/9] riscv/boot: Add a missing header include
Date: Tue, 19 May 2020 14:31:26 -0700

Currently every c file that includes boot.h also includes loader.h
before it. Which is why the build works fine. We should be able to
include just boot.h though so this is a small fixup to allow that.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Bin Meng <address@hidden>
 include/hw/riscv/boot.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/hw/riscv/boot.h b/include/hw/riscv/boot.h
index 474a940ad5..9daa98da08 100644
--- a/include/hw/riscv/boot.h
+++ b/include/hw/riscv/boot.h
@@ -21,6 +21,7 @@
 #define RISCV_BOOT_H
 #include "exec/cpu-defs.h"
+#include "hw/loader.h"
 void riscv_find_and_load_firmware(MachineState *machine,
                                   const char *default_machine_firmware,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]