summaryrefslogtreecommitdiff
path: root/include/configs/k2g_evm.h
diff options
context:
space:
mode:
authorMadan Srinivas <madans@ti.com>2017-07-17 12:59:13 -0500
committerTom Rini <trini@konsulko.com>2017-07-26 11:26:50 -0400
commit08d06310f4d8f99208f95936bf7de83de9d8af04 (patch)
tree52c4797c8b646ff6c84e6073567e661e0cbff856 /include/configs/k2g_evm.h
parent881261c82ee188b7ab1efa8d55990febcea629a7 (diff)
configs: k2x_evm: Adds environment variables for secure devices
Updates the default u-boot environment variables to support secure boot. On secure devices, a secure boot monitor (sec-bm) needs to be installed by u-boot. Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/k2g_evm.h')
-rw-r--r--include/configs/k2g_evm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index 958090099a..132dc89ccc 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -52,11 +52,18 @@
"get_mon_mmc=load mmc ${bootpart} ${addr_mon} ${bootdir}/${name_mon}\0"\
"name_fs=arago-base-tisdk-image-k2g-evm.cpio\0"
+#ifndef CONFIG_TI_SECURE_DEVICE
#define CONFIG_BOOTCOMMAND \
"run envboot; " \
"run set_name_pmmc init_${boot} init_fw_rd_${boot} " \
"get_pmmc_${boot} run_pmmc get_mon_${boot} run_mon " \
"findfdt get_fdt_${boot} get_kern_${boot} run_kern"
+#else
+#define CONFIG_BOOTCOMMAND \
+ "run envboot; run run_mon_hs set_name_pmmc init_${boot} " \
+ "get_pmmc_${boot} run_pmmc findfdt get_fit_${boot};" \
+ "bootm ${fit_loadaddr}#${name_fdt} "
+#endif
/* SPL SPI Loader Configuration */
#define CONFIG_SPL_TEXT_BASE 0x0c080000