summaryrefslogtreecommitdiff
path: root/arch/nds32/lib/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/lib/cache.c')
-rw-r--r--arch/nds32/lib/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nds32/lib/cache.c b/arch/nds32/lib/cache.c
index e11d300b6d..21917e5da5 100644
--- a/arch/nds32/lib/cache.c
+++ b/arch/nds32/lib/cache.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <cpu_func.h>
#if !(CONFIG_IS_ENABLED(SYS_ICACHE_OFF) && CONFIG_IS_ENABLED(SYS_DCACHE_OFF))
+#include <asm/cache.h>
static inline unsigned long CACHE_SET(unsigned char cache)
{
if (cache == ICACHE)