summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/spl/spl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index ce0319852e..63c48fbf33 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -31,7 +31,6 @@
#include <fdt_support.h>
#include <bootcount.h>
#include <wdt.h>
-#include <cpu_func.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -603,12 +602,6 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
spl_set_bd();
-#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) && \
- (defined(CONFIG_CPU_V7A) || defined(CONFIG_ARM64) || \
- defined(CONFIG_CPU_V7R))
- enable_caches();
-#endif
-
#if defined(CONFIG_SYS_SPL_MALLOC_START)
mem_malloc_init(CONFIG_SYS_SPL_MALLOC_START,
CONFIG_SYS_SPL_MALLOC_SIZE);