summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorManorit Chawdhry <m-chawdhry@ti.com>2024-05-21 16:26:48 +0530
committerTom Rini <trini@konsulko.com>2024-06-07 14:00:43 -0600
commit4db7d62f858b82b493a7c6a32d5ba25a85a6f9dd (patch)
tree0316e44978969829ce05619761bf6acfa0dbc97d /arch
parent457d0b5d435cb63e4494e4635a3eeb5b459c6778 (diff)
downloadu-boot-4db7d62f858b82b493a7c6a32d5ba25a85a6f9dd.tar.gz
u-boot-4db7d62f858b82b493a7c6a32d5ba25a85a6f9dd.tar.bz2
u-boot-4db7d62f858b82b493a7c6a32d5ba25a85a6f9dd.zip
mach-k3: common.c: add a flag for booting authenticated rproc binaries
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> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-k3/common.c4
1 files changed, 3 insertions, 1 deletions
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;
}