[PATCH] common: spl: Enable Instruction cache after relocation in board_init_r
Ernest Van Hoecke
ernestvanhoecke at gmail.com
Fri Nov 28 20:24:51 CET 2025
On Wed, Nov 26, 2025 at 06:34:15PM +0530, Kumar, Udit wrote:
> Thanks Ernest for reviving this patch ,
>
> Changes in arch/arm/mach-k3/common.c seems good to me.
>
> but common/spl/spl.c can not pushed in generic way, I can think of few
> platforms running SPL w/o caches on.
>
Hi Udit,
Thanks for your prompt reply and input. I have now tested this patch but
with the enable_caches in common/spl/spl.c dropped, and everything looks
great to me. I will continue running the tests over the weekend, but can
confirm that this change seems unnecessary to fix the issue we saw with
sporadic boot failures.
A v2 that only touches mach-k3/common.c would be suitable. If you
prefer, I have a patch ready that we can send. I don't believe much
functionality is lost by simply dropping the spl.c line, platforms can
enable caches themselves as they want.
Kind regards,
Ernest
More information about the U-Boot
mailing list