[PATCH] mach-k3: j722s: enable caches for the SPL stage
Heiko Thiery
heiko.thiery at gmail.com
Thu Jun 12 13:50:15 CEST 2025
This is same as done in 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 at gmail.com>
---
arch/arm/mach-k3/j722s/j722s_init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-k3/j722s/j722s_init.c b/arch/arm/mach-k3/j722s/j722s_init.c
index af211377e7c..591aa1d60d5 100644
--- a/arch/arm/mach-k3/j722s/j722s_init.c
+++ b/arch/arm/mach-k3/j722s/j722s_init.c
@@ -162,6 +162,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)
--
2.39.5
More information about the U-Boot
mailing list