From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Tue, 27 Feb 2018 11:06:08 +0530 Subject: [U-Boot] [U-Boot PATCH 1/2] configs: k2l: Updates u-boot env to install secure boot monitor In-Reply-To: <1518803528-61127-2-git-send-email-madans@ti.com> References: <1518803528-61127-1-git-send-email-madans@ti.com> <1518803528-61127-2-git-send-email-madans@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de +Tom On Friday 16 February 2018 11:22 PM, Madan Srinivas wrote: > This patch updates the default u-boot env for K2L HS devices > to install the secure boot monitor and load the fitImage during > boot. > > Signed-off-by: Madan Srinivas Reviewed-by: Lokesh Vutla > --- > > include/configs/k2l_evm.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/include/configs/k2l_evm.h b/include/configs/k2l_evm.h > index d8bcbde..87639df 100644 > --- a/include/configs/k2l_evm.h > +++ b/include/configs/k2l_evm.h > @@ -15,9 +15,18 @@ > /* Platform type */ > #define CONFIG_SOC_K2L > > +#ifdef CONFIG_TI_SECURE_DEVICE > +#define DEFAULT_SEC_BOOT_ENV \ > + DEFAULT_FIT_TI_ARGS \ > + "findfdt=setenv fdtfile ${name_fdt}\0" > +#else > +#define DEFAULT_SEC_BOOT_ENV > +#endif > + > /* U-Boot general configuration */ > #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \ > DEFAULT_FW_INITRAMFS_BOOT_ENV \ > + DEFAULT_SEC_BOOT_ENV \ > "boot=ubi\0" \ > "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \ > "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,4096\0" \ >