aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMadan Srinivas <madans@ti.com>2017-04-07 10:00:06 -0500
committerTom Rini <trini@konsulko.com>2017-04-08 21:35:05 -0400
commit2ff5183fba0b871c89f9ad218381ab96102d5863 (patch)
treeb79bac4a8150339c16cdca189889c419f1020473 /arch
parent39dd0f6faadb9d276d881b4e97729584f254943f (diff)
downloadu-boot-2ff5183fba0b871c89f9ad218381ab96102d5863.zip
u-boot-2ff5183fba0b871c89f9ad218381ab96102d5863.tar.gz
u-boot-2ff5183fba0b871c89f9ad218381ab96102d5863.tar.bz2
ARM: Keystone2: Build secure images for K2
Adds an additional image type needed for supporting secure keystone devices. The build generates u-boot_HS_MLO which can be used to boot from all media on secure keystone devices. Signed-off-by: Madan Srinivas <madans@ti.com> Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-keystone/config.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/config.mk b/arch/arm/mach-keystone/config.mk
index 9ae1e9a..db556ea 100644
--- a/arch/arm/mach-keystone/config.mk
+++ b/arch/arm/mach-keystone/config.mk
@@ -5,9 +5,15 @@
# SPDX-License-Identifier: GPL-2.0+
#
+include $(srctree)/arch/arm/mach-omap2/config_secure.mk
+
ifndef CONFIG_SPL_BUILD
+ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
+ALL-y += u-boot_HS_MLO
+else
ALL-y += MLO
endif
+endif
MKIMAGEFLAGS_u-boot-spl.gph = -A $(ARCH) -T gpimage -C none \
-a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) -n SPL