]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mach-k3: common.c: add a flag for booting authenticated rproc binaries
authorManorit Chawdhry <m-chawdhry@ti.com>
Tue, 21 May 2024 10:56:48 +0000 (16:26 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 20:00:43 +0000 (14:00 -0600)
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>
arch/arm/mach-k3/common.c

index 1a269d6934a3644f0f756d7cbb0e6b7595930e60..eaa7d3617672f7c6eb39f88645bcd8d1e0b0cfae 100644 (file)
@@ -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;
 }