From 38fcc71cc58b1c9a224b707b03eb6574cb2dc027 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Tue, 3 Apr 2012 04:32:56 +0000 Subject: [PATCH] ARM: add u-boot.imx as target for i.MX SOCs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Freescale SOCs require an header to u-boot.bin The patch adds u-boot.imx to the default targets if the imx file is set (IMX_CONFIG). Signed-off-by: Stefano Babic Cc: Albert ARIBAUD CC: Loïc Minier CC: Mike Frysinger Acked-by: Mike Frysinger Acked-by: Dirk Behme Tested-by: Dirk Behme --- arch/arm/cpu/armv7/config.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk index 83ddf10f1f..f532d62e57 100644 --- a/arch/arm/cpu/armv7/config.mk +++ b/arch/arm/cpu/armv7/config.mk @@ -31,3 +31,6 @@ PLATFORM_CPPFLAGS += -march=armv5 # ========================================================================= PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT) +ifneq ($(CONFIG_IMX_CONFIG),) +ALL-y += $(obj)u-boot.imx +endif -- 2.25.1