From: Andre Przywara Date: Wed, 26 Apr 2017 00:32:41 +0000 (+0100) Subject: armv8: fsl: move ccn504 code into FSL Makefile X-Git-Tag: v2017.07-rc1~193^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=98db26a6125baf21d9fa30babb6c74dd867bfdcd;p=u-boot armv8: fsl: move ccn504 code into FSL Makefile The generic ARMv8 assembly code contains routines for setting up a CCN interconnect, though the Freescale SoCs are the only user. Link this code only for Freescale targets, this saves some precious bytes in the chronically tight SPL. Signed-off-by: Andre Przywara --- diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index cc5d98ace4..f162c1428c 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile @@ -44,7 +44,7 @@ obj-y += stack.o ifdef CONFIG_CPU_V7M obj-y += interrupts_m.o else ifdef CONFIG_ARM64 -obj-y += ccn504.o +obj-$(CONFIG_FSL_LAYERSCAPE) += ccn504.o ifneq ($(CONFIG_GICV2)$(CONFIG_GICV3),) obj-y += gic_64.o endif