[PATCH] mach-k3: j722s: enable caches for the SPL stage
Tom Rini
trini at konsulko.com
Thu Jun 12 16:38:08 CEST 2025
On Thu, Jun 12, 2025 at 01:50:15PM +0200, Heiko Thiery wrote:
> 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)
A bit less a comment for you and more a comment for all the TI folks,
can't we re-architect this a bit to be common? I think I even made that
point on another patch doing this same thing for another K3 part.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250612/207cd8b0/attachment.sig>
More information about the U-Boot
mailing list