From aafcc90a875b58b883275522fb63d9b19964c851 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Thu, 23 Feb 2023 18:40:07 +0800 Subject: [PATCH] platform: generic/allwinner: Fix sun20i-d1.c header dependency The code calls various macros from riscv_asm.h and sbi_scratch.h which are not directly included. Fix such dependency. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- platform/generic/allwinner/sun20i-d1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/generic/allwinner/sun20i-d1.c b/platform/generic/allwinner/sun20i-d1.c index 295c159..0f0a9f3 100644 --- a/platform/generic/allwinner/sun20i-d1.c +++ b/platform/generic/allwinner/sun20i-d1.c @@ -6,12 +6,14 @@ #include #include +#include #include #include #include #include #include #include +#include #include #include #include -- 2.7.4