Re: [PATCH v3] rockchip: spl: Enable caches to speed up checksum validation

2024-02-05 Thread Jonas Karlman
Hi Kever, On 2024-02-05 01:51, Kever Yang wrote: > Hi Jonas, > >     This patch fail to build with armv7 platform: > > +arch/arm/mach-rockchip/spl.c: In function 'board_init_f': > +arch/arm/mach-rockchip/spl.c:143:17: error: implicit declaration of > function 'enable_caches' [-Werror=implicit-

Re: [PATCH v3] rockchip: spl: Enable caches to speed up checksum validation

2024-02-04 Thread Kever Yang
Hi Jonas,     This patch fail to build with armv7 platform: +arch/arm/mach-rockchip/spl.c: In function 'board_init_f': +arch/arm/mach-rockchip/spl.c:143:17: error: implicit declaration of function 'enable_caches' [-Werror=implicit-function-declaration] +  143 | enable_caches();

[PATCH v3] rockchip: spl: Enable caches to speed up checksum validation

2024-01-25 Thread Jonas Karlman
FIT checksum validation is very slow in SPL due to D-cache not being enabled. Enable caches in SPL on ARM64 SoCs to speed up FIT checksum validation, from seconds to milliseconds. This change enables caches in SPL on all Rockchip ARM64 boards, the Kconfig options SPL_SYS_ICACHE_OFF and SPL_SYS_DC