summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUdit Kumar <u-kumar1@ti.com>2023-06-19 14:18:02 +0530
committerUdit Kumar <u-kumar1@ti.com>2023-06-19 19:01:38 +0530
commitc4fd0cdfc150d4680183813acae402f43dd40746 (patch)
treed117d31a10755a1dffd40622b8e03a1c2500b62c
parent03862d162ff0e7ce7b411316b30d70d2059113e1 (diff)
mach-k3: common.c: reset the flag for booting gp rproc binaries
By default secure_rprocs variable was undefined. While checking remote proc fw variant "sec" suffix was getting picked even for GP devices. This patch define and reset secure_rprocs variable for GP devices. Fixes: (0dee226aaf98: configs: change default firmware images name) Cc: Manorit Chawdhry <m-chawdhry@ti.com> Cc: Neha Francis<n-francis@ti.com> Cc: Vignesh Raghavendra <vigneshr@ti.com> Cc: Praneeth Bajjuri <praneeth@ti.com> Cc: Hari Nagalla <hnagalla@ti.com> Cc: Apurva Nandan <a-nandan@ti.com> Signed-off-by: Udit Kumar <u-kumar1@ti.com>
-rw-r--r--arch/arm/mach-k3/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index d15bfe937f..c04f898a55 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -615,6 +615,8 @@ int misc_init_r(void)
if (get_device_type() == K3_DEVICE_TYPE_HS_SE) {
env_set("boot_fit", "1");
env_set("secure_rprocs", "1");
+ } else {
+ env_set("secure_rprocs", "0");
}
return 0;