board/freescale/common: secure_boot: Set bootdelay to -2.

Uboot prompt must not be available while running
secure boot. TO ensure this  bootdelay must be set
to -2.

Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
This commit is contained in:
Udit Agarwal 2019-06-11 09:37:49 +00:00 committed by Prabhakar Kushwaha
parent d90c7ac7a9
commit da70f766dd

View File

@ -79,7 +79,7 @@ int fsl_setenv_chain_of_trust(void)
* bootdelay = 0 (To disable Boot Prompt)
* bootcmd = CONFIG_CHAIN_BOOT_CMD (Validate and execute Boot script)
*/
env_set("bootdelay", "0");
env_set("bootdelay", "-2");
#ifdef CONFIG_ARM
env_set("secureboot", "y");