From d588b4b55d2240c13c3cce507683853fd6d6ac00 Mon Sep 17 00:00:00 2001 From: Anand Gadiyar Date: Mon, 13 Jun 2022 16:13:25 -0500 Subject: Revert "spl: Add support for enabling d-cache in board_init_r" This reverts commit ad3d63b199fd48ab2fb6ca8069a11b40faa378d5. Signed-off-by: Anand Gadiyar --- common/spl/spl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 67882bb194..63c48fbf33 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -602,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); -- cgit v1.2.3