summaryrefslogtreecommitdiff
path: root/include/configs/ls1046ardb.h
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@nxp.com>2017-06-06 18:20:29 +0300
committerYork Sun <york.sun@nxp.com>2017-08-01 18:28:57 +0300
commitf7b75f8b34a40b2d13e968d52bb2e8ae271401c9 (patch)
tree7759a2506b0846119ffada3115c21c7dbfe59412 /include/configs/ls1046ardb.h
parent76bbf1c634f4a09e1b3e19468738842a2289dc1e (diff)
downloadu-boot-f7b75f8b34a40b2d13e968d52bb2e8ae271401c9.tar.xz
arm64: ls1046ardb: Add distro secure boot support
Enable validation of boot.scr script prior to its execution dependent on "secureboot" flag in environment. Disable fall back option to qspi boot in case of secure boot. Also enable "secureboot=y" flag in environment for ARM based platforms instead of bootcmd. Signed-off-by: Sumit Garg <sumit.garg@nxp.com> Tested-by: Vinitha Pillai <vinitha.pillai@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1046ardb.h')
-rw-r--r--include/configs/ls1046ardb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index 114712322f..e6bd6779f1 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -241,7 +241,8 @@
#ifndef SPL_NO_MISC
#undef CONFIG_BOOTCOMMAND
-#define CONFIG_BOOTCOMMAND "run distro_bootcmd;run qspi_bootcmd"
+#define CONFIG_BOOTCOMMAND "run distro_bootcmd; env exists secureboot" \
+ "&& esbc_halt; run qspi_bootcmd;"
#define MTDPARTS_DEFAULT "mtdparts=1550000.quadspi:1m(rcw)," \
"15m(u-boot),48m(kernel.itb);" \
"7e800000.flash:16m(nand_uboot)," \