arm: Enable cache-pl310 driver build for both SPL and proper U-Boot
PATCH 1/1 arm: Enable cache-pl310 driver build for both SPL and proper U-Boot
From: Tien Fong Chee <[email protected]>
Moved CONFIG_SYS_L2_PL310 to the location where the build on the cache-pl310 can be taken in both SPL and proper U-Boot. This driver is required for SoCFPGA when temporarily turning on the cache for better performance in initializing whole DDR to zero.
Signed-off-by Tien Fong Chee <[email protected]>
Signed-off-by Jit Loon Lim <[email protected]>
--- arch/arm/lib/Makefile | 1 + 1 file changed, 1 insertion(+)
arch/arm/lib/Makefile +1 -0
@@ -43,6 +43,7 @@ ifdef CONFIG_ARM64 obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMSET) += memset-arm64.o obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMCPY) += memcpy-arm64.o else +obj-$(CONFIG_SYS_L2_PL310) += cache-pl310.o obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMSET) += memset.o obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMCPY) += memcpy.o endif
Signature · 1 line
2.26.2