From: George Hilliard <thirtythreefo...@gmail.com> The arm926 code provides this function. Disable it here.
Signed-off-by: George Hilliard <thirtythreefo...@gmail.com> Signed-off-by: Yifan Gu <m...@yifangu.com> --- arch/arm/mach-sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c index b471933ec8..6dd2c6a4d8 100644 --- a/arch/arm/mach-sunxi/board.c +++ b/arch/arm/mach-sunxi/board.c @@ -406,7 +406,7 @@ void reset_cpu(void) #endif } -#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) && !defined(CONFIG_ARM64) +#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) && !defined(CONFIG_ARM64) && !defined(CONFIG_CPU_ARM926EJS) void enable_caches(void) { /* Enable D-cache. I-cache is already enabled in start.S */ -- 2.25.1