diff options
author | Vinitha Pillai-B57223 <vinitha.pillai@nxp.com> | 2017-11-22 10:38:35 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-12-06 14:55:17 -0800 |
commit | 9b457cc6d16dadc29f3e7ed560171a9a20b9c5d7 (patch) | |
tree | 293bd0e8a51ae3d264dc2caa35610356b083ff37 /include/configs/ls1046ardb.h | |
parent | 003c99de100b94fa442e3ef895166082a418515f (diff) | |
download | u-boot-9b457cc6d16dadc29f3e7ed560171a9a20b9c5d7.tar.gz |
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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h index d001b80270..5afd5c64bb 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 |