aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ls1046ardb.h
diff options
context:
space:
mode:
authorVinitha Pillai-B57223 <vinitha.pillai@nxp.com>2017-11-22 10:38:35 +0530
committerYork Sun <york.sun@nxp.com>2017-12-06 14:55:17 -0800
commit9b457cc6d16dadc29f3e7ed560171a9a20b9c5d7 (patch)
tree293bd0e8a51ae3d264dc2caa35610356b083ff37 /include/configs/ls1046ardb.h
parent003c99de100b94fa442e3ef895166082a418515f (diff)
downloadu-boot-9b457cc6d16dadc29f3e7ed560171a9a20b9c5d7.zip
u-boot-9b457cc6d16dadc29f3e7ed560171a9a20b9c5d7.tar.gz
u-boot-9b457cc6d16dadc29f3e7ed560171a9a20b9c5d7.tar.bz2
SECURE BOOT: Add fall back option
Add fall back option, to boot from NOR/QSPI/SD for LS1043, LS1046, LS1021 in case of distro boot failure. For LS1046, add kernel validation in case of secure boot in sd_bootcmd and qspi_bootcmd. For LS1043 and LS1021, add kernel validation in case of secure boot in sd_bootcmd, qspi_bootcmdand nor_bootcmd. Signed-off-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index d001b80..5afd5c6 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -226,11 +226,11 @@
#ifndef SPL_NO_MISC
#undef CONFIG_BOOTCOMMAND
#if defined(CONFIG_QSPI_BOOT)
-#define CONFIG_BOOTCOMMAND "run distro_bootcmd; env exists secureboot" \
- "&& esbc_halt; run qspi_bootcmd;"
+#define CONFIG_BOOTCOMMAND "run distro_bootcmd; run qspi_bootcmd; " \
+ "env exists secureboot && esbc_halt;;"
#elif defined(CONFIG_SD_BOOT)
-#define CONFIG_BOOTCOMMAND "run distro_bootcmd; env exists secureboot" \
- "&& esbc_halt; run sd_bootcmd;"
+#define CONFIG_BOOTCOMMAND "run distro_bootcmd;run sd_bootcmd; " \
+ "env exists secureboot && esbc_halt;"
#endif
#endif