summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2012-10-17 06:04:30 +0000
committerStefano Babic <sbabic@denx.de>2012-10-26 16:27:59 +0200
commita3cbc3969d665b9764c99d17e7975331590d72d9 (patch)
tree56bcd2ae54eff2d881f8274b20403ec47ddaee24 /arch
parenta80834c064bb54fbdf56c97e3f31967baf88dec4 (diff)
downloadu-boot-imx-a3cbc3969d665b9764c99d17e7975331590d72d9.zip
u-boot-imx-a3cbc3969d665b9764c99d17e7975331590d72d9.tar.gz
u-boot-imx-a3cbc3969d665b9764c99d17e7975331590d72d9.tar.bz2
ARM: Add SPL target to arm1136
The patch adds SPL for the arm1136 architecture and inserts SPL (the produced binary) to clobber target in the main Makefile. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/arm1136/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm1136/config.mk b/arch/arm/cpu/arm1136/config.mk
index efee0d1..9092d91 100644
--- a/arch/arm/cpu/arm1136/config.mk
+++ b/arch/arm/cpu/arm1136/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)
+ifdef CONFIG_SPL_BUILD
+ALL-y += $(OBJTREE)/SPL
+endif