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 27065136dd..e11d300b6d 100644
--- a/arch/nds32/lib/cache.c
+++ b/arch/nds32/lib/cache.c
@@ -6,6 +6,7 @@
*/
#include <common.h>
+#include <cpu_func.h>
#if !(CONFIG_IS_ENABLED(SYS_ICACHE_OFF) && CONFIG_IS_ENABLED(SYS_DCACHE_OFF))
static inline unsigned long CACHE_SET(unsigned char cache)
{