Skip to contentSkip to conversation

arm: Enable cache-pl310 driver build for both SPL and proper U-Boot

PATCH New Jit Loon Lim 1 participant 1 message Sep 5, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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.

---
 arch/arm/lib/Makefile | 1 +
 1 file changed, 1 insertion(+)
arch/arm/lib/Makefile +1 -0
index c603fe61bc..575042e6df 100644
@@ -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