diff mbox series

[4/4] mach-k3: common.c: add a flag for booting authenticated rproc binaries

Message ID 20240521105648.3780072-5-u-kumar1@ti.com
State Accepted
Commit 4db7d62f858b82b493a7c6a32d5ba25a85a6f9dd
Delegated to: Tom Rini
Headers show
Series Adding support to load secure firmware for HS devices | expand

Commit Message

Kumar, Udit May 21, 2024, 10:56 a.m. UTC
From: Manorit Chawdhry <m-chawdhry@ti.com>

The flag will be used for booting authenticated remote procs from hs-se
devices which can optionally be used in hs-fs devices also.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
---
 arch/arm/mach-k3/common.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index 1a269d6934..eaa7d36176 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -283,8 +283,10 @@  int misc_init_r(void)
 	}
 
 	/* Default FIT boot on HS-SE devices */
-	if (get_device_type() == K3_DEVICE_TYPE_HS_SE)
+	if (get_device_type() == K3_DEVICE_TYPE_HS_SE) {
 		env_set("boot_fit", "1");
+		env_set("secure_rprocs", "1");
+	}
 
 	return 0;
 }