armv8: fsl: move ccn504 code into FSL Makefile
[oweals/u-boot.git] / arch / arm / lib / Makefile
index cc5d98ace4912630e41e6cf07059eee04bbff474..f162c1428c856381a85b1ea26c6d4c698d34e08e 100644 (file)
@@ -44,7 +44,7 @@ obj-y += stack.o
 ifdef CONFIG_CPU_V7M
 obj-y  += interrupts_m.o
 else ifdef CONFIG_ARM64
-obj- += ccn504.o
+obj-$(CONFIG_FSL_LAYERSCAPE) += ccn504.o
 ifneq ($(CONFIG_GICV2)$(CONFIG_GICV3),)
 obj-y  += gic_64.o
 endif