summaryrefslogtreecommitdiffstats
path: root/arch/riscv/lib/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/lib/spl.c')
-rw-r--r--arch/riscv/lib/spl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/lib/spl.c b/arch/riscv/lib/spl.c
index 5e19d0f36a..8baee07bea 100644
--- a/arch/riscv/lib/spl.c
+++ b/arch/riscv/lib/spl.c
@@ -9,6 +9,7 @@
#include <init.h>
#include <log.h>
#include <spl.h>
+#include <asm/global_data.h>
#include <asm/smp.h>
DECLARE_GLOBAL_DATA_PTR;