From: Udit Agarwal Date: Tue, 11 Jun 2019 09:37:49 +0000 (+0000) Subject: board/freescale/common: secure_boot: Set bootdelay to -2. X-Git-Tag: v2019.07~26^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da70f766dd19d3645f32ed51a64b137bac7da423;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Prabhakar Kushwaha --- diff --git a/board/freescale/common/fsl_chain_of_trust.c b/board/freescale/common/fsl_chain_of_trust.c index 97376c4..dddfd26 100644 --- a/board/freescale/common/fsl_chain_of_trust.c +++ b/board/freescale/common/fsl_chain_of_trust.c @@ -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");