[PATCH v3 68/95] socfpga: Use the correct condition for SYS_L2_PL310

Simon Glass sjg at chromium.org
Mon Feb 13 00:16:11 CET 2023


Update this to use the PPL condition instead, so that nothing changes when
building for SPL with split config.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 arch/arm/mach-socfpga/misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
index 5b5a81a255d..b09b898051b 100644
--- a/arch/arm/mach-socfpga/misc.c
+++ b/arch/arm/mach-socfpga/misc.c
@@ -32,7 +32,7 @@ phys_addr_t socfpga_clkmgr_base __section(".data");
 phys_addr_t socfpga_rstmgr_base __section(".data");
 phys_addr_t socfpga_sysmgr_base __section(".data");
 
-#ifdef CONFIG_SYS_L2_PL310
+#ifdef CONFIG_PPL_SYS_L2_PL310
 static const struct pl310_regs *const pl310 =
 	(struct pl310_regs *)CFG_SYS_PL310_BASE;
 #endif
@@ -66,7 +66,7 @@ void enable_caches(void)
 #endif
 }
 
-#ifdef CONFIG_SYS_L2_PL310
+#ifdef CONFIG_PPL_SYS_L2_PL310
 void v7_outer_cache_enable(void)
 {
 	struct udevice *dev;
-- 
2.39.1.581.gbfd45094c4-goog



More information about the U-Boot mailing list