summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAnand Gadiyar <gadiyar@ti.com>2022-06-13 16:13:25 -0500
committerAnand Gadiyar <gadiyar@ti.com>2022-06-13 16:30:47 -0500
commitd588b4b55d2240c13c3cce507683853fd6d6ac00 (patch)
tree7bbd5724d3b810bf2e4cd20a41d50588a649c081 /common
parent85cb51c7c996b44687bc239d72744df6f56e8d10 (diff)
Revert "spl: Add support for enabling d-cache in board_init_r"
This reverts commit ad3d63b199fd48ab2fb6ca8069a11b40faa378d5. Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl.c6
1 files changed, 0 insertions, 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);