[RFC] rockchip: spl: Enable caches to speed up checksum validation
    Jagan Teki 
    jagan at amarulasolutions.com
       
    Sun Jul  2 13:07:36 CEST 2023
    
    
  
On Sun, Jul 2, 2023 at 4:31 PM Jonas Karlman <jonas at 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 <jonas at 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.
    
    
More information about the U-Boot
mailing list