[PATCH v3 3/4] platform: generic/andes: Fix ae350.c header dependency
Bin Meng
bmeng at tinylab.org
Thu Feb 23 02:40:08 PST 2023
The code calls various macros from riscv_asm.h which is not directly
included. Fix such dependency.
Signed-off-by: Bin Meng <bmeng at tinylab.org>
---
platform/generic/andes/ae350.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/platform/generic/andes/ae350.c b/platform/generic/andes/ae350.c
index 89f5b74..01bd02d 100644
--- a/platform/generic/andes/ae350.c
+++ b/platform/generic/andes/ae350.c
@@ -11,6 +11,7 @@
#include <sbi_utils/fdt/fdt_helper.h>
#include <sbi_utils/fdt/fdt_fixup.h>
#include <sbi_utils/sys/atcsmu.h>
+#include <sbi/riscv_asm.h>
#include <sbi/sbi_bitops.h>
#include <sbi/sbi_error.h>
#include <sbi/sbi_hsm.h>
--
2.25.1
More information about the opensbi
mailing list