Skip to contentSkip to conversation

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

PATCH New Udit Agarwal 2 participants 2 messages Jun 11, 2019 – Jun 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 board/freescale/common/fsl_chain_of_trust.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/freescale/common/fsl_chain_of_trust.c +1 -1
index 97376c4165..dddfd26a13 100644
@@ -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");
Signature · 1 line
2.17.1
#1 lore raw

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

Quoted 12 lines

-----Original Message-----
From: Udit Agarwal
Sent: Tuesday, June 11, 2019 3:08 PM
To: u-boot at lists.denx.de
Cc: Ruchika Gupta <[email protected]>; Arun Pathak <[email protected]>; Prabhakar Kushwaha <[email protected]>; Jagdish Gediya <[email protected]>; Udit Agarwal <[email protected]>
Subject: [PATCH 1/1] board/freescale/common: secure_boot: Set bootdelay to - 2.

Quoted 5 lines

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

---

This patch has been applied to fsl-qoriq master, awaiting upstream.

--pk