On Sun, Jul 2, 2023 at 4:31 PM Jonas Karlman <jo...@kwiboo.se> wrote:
>
> FIT checksum validation is very slow in SPL due to D-cache not being
> enabled.
>
> Enable caches in SPL to speed up FIT checksum validation, from seconds
> to milliseconds.
>
> Signed-off-by: Jonas Karlman <jo...@kwiboo.se>
> ---
> I am not sure if it is even a good idea to enable caches in SPL, if this
> is the best way to enable caches and maybe this should be behind a
> Kconfig option?

It would. I would suggest giving board options instead of marking them for SoC.

Be careful to proceed with this to make it default, as it affects
other drivers as well.

Jagan.

Reply via email to