[PATCH master 2/4] ARM: Layerscape: fix compilation of LS1028 without LS1046

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Apr 22 00:55:17 PDT 2025


From: Ahmad Fatoum <a.fatoum at barebox.org>

Definitions inside icid.c are needed for both LS1046 and LS1028, so make
sure it's compiled unconditionally.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 arch/arm/mach-layerscape/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-layerscape/Makefile b/arch/arm/mach-layerscape/Makefile
index 10e1c031b953..095d3e4eae57 100644
--- a/arch/arm/mach-layerscape/Makefile
+++ b/arch/arm/mach-layerscape/Makefile
@@ -3,7 +3,7 @@
 obj- := __dummy__.o
 lwl-y += errata.o
 lwl-$(CONFIG_ARCH_LS1046) += lowlevel.o lowlevel-ls1046a.o
-obj-$(CONFIG_ARCH_LS1046) += icid.o
+obj-y += icid.o
 obj-pbl-y += boot.o soc.o
 pbl-y += xload-qspi.o xload.o
 pbl-$(CONFIG_ARCH_LS1028) += tzc400.o
-- 
2.39.5




More information about the barebox mailing list