summaryrefslogtreecommitdiff
path: root/include/configs/ls1046ardb.h
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@nxp.com>2017-08-28 06:36:28 (GMT)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2017-08-29 11:04:13 (GMT)
commitd31450d53d05c39371f41caecc5e1dfa40ade15a (patch)
tree7fc5dc9ff97d2484f56be41952e3669b6f74b5c8 /include/configs/ls1046ardb.h
parentdf0303c2f44367c5e3de050fb69c325f894e6174 (diff)
downloadu-boot-d31450d53d05c39371f41caecc5e1dfa40ade15a.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. Enable 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>
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 e007d18..7bdff82 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -243,7 +243,8 @@
#ifndef SPL_NO_MISC
#undef CONFIG_BOOTCOMMAND
-#define CONFIG_BOOTCOMMAND "run distro_bootcmd;run qspi_bootcmd"
+#define CONFIG_BOOTCOMMAND "run distro_bootcmd; run qspi_bootcmd; " \
+ "env exists secureboot && esbc_halt;"
#define MTDPARTS_DEFAULT "mtdparts=1550000.quadspi:1m(rcw)," \
"15m(u-boot),48m(kernel.itb);" \
"7e800000.flash:16m(nand_uboot)," \