]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm: mach-omap2: Add secure image name common to OMAP and keystone
authorMadan Srinivas <madans@ti.com>
Fri, 7 Apr 2017 15:00:05 +0000 (10:00 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 9 Apr 2017 01:35:05 +0000 (21:35 -0400)
As K2 can directly boot U-Boot, add u-boot_HS_MLO as the secure image
name for secure K2 devices, for all boot modes other than SPI flash.

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>
arch/arm/mach-omap2/config_secure.mk

index 0c843338d770179ef1bff937a11afeb7fc78d6ee..0346cb93abd474d9450e309aca778ef4cc97efba 100644 (file)
@@ -77,6 +77,12 @@ u-boot-spl_HS_ISSW: $(obj)/u-boot-spl.bin FORCE
 u-boot-spl_HS_SPI_X-LOADER: $(obj)/u-boot-spl.bin FORCE
        $(call if_changed,mkomapsecimg)
 
+# For supporting single stage boot on keystone, the image is a full u-boot
+# file, not an SPL. This will work for all boot devices, other than SPI
+# flash
+u-boot_HS_MLO: $(obj)/u-boot.bin
+       $(call if_changed,mkomapsecimg)
+
 # For supporting single stage XiP QSPI on AM43xx, the image is a full u-boot
 # file, not an SPL. In this case the mkomapsecimg command looks for a
 # u-boot-HS_* prefix