u-boot/arch/arm/mach-k3
Manorit Chawdhry bd6a247593 arm: mach-k3: security: separate out validating binary logic
K3 GP devices allows booting the secure binaries on them by bypassing
the x509 header on them.

ATF and OPTEE firewalling required the rproc_load to be called before
authentication. This change caused the failure for GP devices that
strips off the headers. The boot vector had been set before the headers
were stripped off causing the runtime stripping to fail and stripping
becoming in-effective.

Separate out the secure binary check on GP/HS devices so that the
boot_vector could be stripped before calling rproc_load. This allows
keeping the authentication later when the cluster is on along with
allowing the stripping of the binaries in case of gp devices.

Fixes: 1e00e9be62 ("arm: mach-k3: common: re-locate authentication for atf/optee")

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
2023-05-30 15:13:44 -04:00
..
am62ax arm: mach-k3: am62a7: Enable QoS for DSS 2023-05-03 09:05:24 -04:00
am62x arm: mach-k3: am62: Introduce autogenerated SoC data 2022-06-10 13:37:32 -04:00
include/mach arm: mach-k3: am62a7: Enable QoS for DSS 2023-05-03 09:05:24 -04:00
j721e clk: ti: k3: Update driver to account for divider flags 2021-09-17 14:47:03 -04:00
j721s2 arm: K3: Add basic support for J721S2 SoC definition 2022-02-08 09:41:26 -05:00
j7200 clk: ti: k3: Update driver to account for divider flags 2021-09-17 14:47:03 -04:00
am62a7_init.c arm: mach-k3: am62a7: Enable QoS for DSS 2023-05-03 09:05:24 -04:00
am625_init.c arm: mach-k3: Move sysfw-loader.h out of mach includes 2023-04-24 13:18:48 -04:00
am642_init.c arm: mach-k3: Workaround errata ID i2331 2023-05-03 09:05:24 -04:00
am654_init.c arm: mach-k3: Remove empty sys_proto.h include 2023-04-24 13:18:48 -04:00
arm64-mmu.c arm: mach-k3: introduce basic files to support the am62a 2022-12-09 14:10:28 -05:00
cache.S arm: mach-k3: Clean non-coherent lines out of L3 cache 2020-08-11 10:18:27 +05:30
common.c arm: mach-k3: security: separate out validating binary logic 2023-05-30 15:13:44 -04:00
common.h arm: mach-k3: security: separate out validating binary logic 2023-05-30 15:13:44 -04:00
config.mk arm: k3: config.mk: Add missing dependencies on tispl.bin HS 2023-05-30 15:13:43 -04:00
config_secure.mk global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
j721e_init.c arm: mach-k3: j7200: Fix firewall warnings at boot time 2023-05-03 09:05:24 -04:00
j721s2_init.c arch: mach-k3: j721s2_init: Disable the firewalls 2023-04-25 15:31:27 -04:00
Kconfig arm: mach-k3: Increase SYSFW max image size 2023-05-30 15:13:44 -04:00
lowlevel_init.S armv7r: K3: Allow SPL to run only on core 0 2018-11-26 22:52:11 -05:00
Makefile arm: mach-k3: introduce basic files to support the am62a 2022-12-09 14:10:28 -05:00
r5_mpu.c global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
security.c arm: mach-k3: security: separate out validating binary logic 2023-05-30 15:13:44 -04:00
sysfw-loader.c arm: mach-k3: Remove empty sys_proto.h include 2023-04-24 13:18:48 -04:00
sysfw-loader.h arm: mach-k3: Move sysfw-loader.h out of mach includes 2023-04-24 13:18:48 -04:00