diff options
author | Anand Gadiyar <gadiyar@ti.com> | 2022-08-11 13:23:57 -0500 |
---|---|---|
committer | Anand Gadiyar <gadiyar@ti.com> | 2022-08-11 13:23:57 -0500 |
commit | 49beccc18dfd3609b96fed0d13b7ef38bdff57a6 (patch) | |
tree | 6d792d57d438de9d76ec81df412d4a0f3821f9f3 /common | |
parent | cfb80954d47b9bdd40d048dc70c138ad29b71375 (diff) |
Revert "spl: Add support for enabling d-cache in board_init_r"
This reverts commit fe0c9443216af5854477a17693cb74a3653a92df.
Reverted due to a reported regression on non-K3 platforms.
Reported-by: Andrew Davis <afd@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/spl.c | 7 |
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); |