summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2012-04-03 04:32:56 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-04-16 14:53:59 +0200
commit38fcc71cc58b1c9a224b707b03eb6574cb2dc027 (patch)
tree0e06ab7c934ed439ceb24d1de4164e65a148e477 /arch
parente87ca8c049849b12f66c98227cd5228bde9769eb (diff)
downloadu-boot-imx-38fcc71cc58b1c9a224b707b03eb6574cb2dc027.zip
u-boot-imx-38fcc71cc58b1c9a224b707b03eb6574cb2dc027.tar.gz
u-boot-imx-38fcc71cc58b1c9a224b707b03eb6574cb2dc027.tar.bz2
ARM: add u-boot.imx as target for i.MX SOCs
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 <sbabic@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> CC: Loïc Minier <loic.minier@linaro.org> CC: Mike Frysinger <vapier@gentoo.org> Acked-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Dirk Behme <dirk.behme@de.bosch.com> Tested-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk
index 83ddf10..f532d62 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