aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadan Srinivas2018-03-06 11:10:09 -0500
committerTom Rini2018-03-16 09:42:39 -0400
commit1c49caf34c643116927c9b2c45729f8e6458e42f (patch)
tree7715ad67015706e988d203e7c9224d7a325c05c6
parent87c692cbc17bc987c8a5f8c0377d8326348786ea (diff)
configs: k2l: Updates u-boot env to install secure boot monitor
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 <madans@ti.com> Acked-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/configs/k2l_evm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/k2l_evm.h b/include/configs/k2l_evm.h
index d8bcbde8430..87639dff580 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" \