Message ID | 1472193016-77388-9-git-send-email-madans@ti.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show |
On 08/26/2016 01:30 AM, Madan Srinivas wrote: > Adds an additional image type needed for supporting secure keystone > devices. The build generates u-boot_HS_XIP_X-LOADER which can > be used to boot from all media on secure keystone devices. > > Signed-off-by: Madan Srinivas <madans@ti.com> > --- > > arch/arm/mach-keystone/config.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/mach-keystone/config.mk b/arch/arm/mach-keystone/config.mk > index 9ae1e9a..565d718 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)/$(CPUDIR)/omap-common/config_secure.mk > + > ifndef CONFIG_SPL_BUILD > +ifeq ($(CONFIG_TI_SECURE_DEVICE),y) > +ALL-y += u-boot_HS_XIP_X-LOADER Same comment as before, u-boot_HS_MLO here would match the regular MLO target below. > +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 >
diff --git a/arch/arm/mach-keystone/config.mk b/arch/arm/mach-keystone/config.mk index 9ae1e9a..565d718 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)/$(CPUDIR)/omap-common/config_secure.mk + ifndef CONFIG_SPL_BUILD +ifeq ($(CONFIG_TI_SECURE_DEVICE),y) +ALL-y += u-boot_HS_XIP_X-LOADER +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
Adds an additional image type needed for supporting secure keystone devices. The build generates u-boot_HS_XIP_X-LOADER which can be used to boot from all media on secure keystone devices. Signed-off-by: Madan Srinivas <madans@ti.com> --- arch/arm/mach-keystone/config.mk | 6 ++++++ 1 file changed, 6 insertions(+)