summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-keystone
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2015-08-17 19:54:51 +0530
committerTom Rini <trini@konsulko.com>2015-08-28 12:33:15 -0400
commit45fe4b4035cb5278cc906032002c943a8b077e76 (patch)
treeef4a22520ffc12f839ebe7c9a5de5764c1b6f1a9 /arch/arm/mach-keystone
parent5f586e9fa14ba93300eaac473b31b6cc0fee17dd (diff)
downloadtalos-obmc-uboot-45fe4b4035cb5278cc906032002c943a8b077e76.tar.gz
talos-obmc-uboot-45fe4b4035cb5278cc906032002c943a8b077e76.zip
ARM: keystone2: Build MLO by default
MLO(NAND/MMC boot image), is used for all the ks2 platforms. Enabling it in config.mk so that these images will be automatically built upon calling make. u-boot-spi.gph is already the build target, so not including here. Reported-by: Nishanth Menon <nm@ti.com> Reviewed-by: Nishanth Menon <nm@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/mach-keystone')
-rw-r--r--arch/arm/mach-keystone/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/config.mk b/arch/arm/mach-keystone/config.mk
index ff2fa68327..ceacffa8af 100644
--- a/arch/arm/mach-keystone/config.mk
+++ b/arch/arm/mach-keystone/config.mk
@@ -5,6 +5,10 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifndef CONFIG_SPL_BUILD
+ALL-y += MLO
+endif
+
MKIMAGEFLAGS_u-boot-spl.gph = -A $(ARCH) -T gpimage -C none \
-a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) -n SPL
spl/u-boot-spl.gph: spl/u-boot-spl.bin FORCE
OpenPOWER on IntegriCloud