From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Fri, 31 Mar 2017 23:31:21 +0100 Subject: [U-Boot] [PATCH v3 09/19] armv8: fsl: move ccn504 code into FSL Makefile In-Reply-To: <1490999491-14899-1-git-send-email-andre.przywara@arm.com> References: <1490999491-14899-1-git-send-email-andre.przywara@arm.com> Message-ID: <1490999491-14899-10-git-send-email-andre.przywara@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- arch/arm/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index 5733430..82154f6 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile @@ -43,7 +43,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 -- 2.8.2