]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mach-k3: j722s: enable caches for the SPL stage
authorHeiko Thiery <heiko.thiery@gmail.com>
Thu, 12 Jun 2025 11:50:15 +0000 (13:50 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jun 2025 21:54:18 +0000 (15:54 -0600)
This is same as done in commit 27cd65ca1bf1 ("mach-k3: am62ax: enable
caches for the SPL stage").

This is resulting in ~2x speedup in the A53 SPL stage.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
arch/arm/mach-k3/j722s/j722s_init.c

index d8123f282ee8d044f031c99f8bc924b98ff6e6f8..1180c75f551dd1ee264529e8661ab5d8c8cbfb43 100644 (file)
@@ -166,6 +166,8 @@ static void k3_mem_init(void)
                if (ret)
                        panic("DRAM init failed: %d\n", ret);
        }
+
+       spl_enable_cache();
 }
 
 static __maybe_unused void enable_mcu_esm_reset(void)