u-boot/arch/arm/mach-k3
Andrew Davis b661c1bc92 arm: mach-k3: security: Remove certificate if detected on GP device
If the device is a GP and we detect a signing certificate then remove it.
It would fail to authenticate otherwise as the device is GP and has no
secure authentication services in SYSFW.

This shouldn't happen often as trying to boot signed images on GP devices
doesn't make much sense, but if we run into a signed image we should at
least try to ignore the certificate and boot the image anyway. This could
help with users of GP devices who only have HS images available.

If this does happen, print a nice big warning.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2022-08-04 15:32:20 -04:00
..
am62x arm: mach-k3: am62: Introduce autogenerated SoC data 2022-06-10 13:37:32 -04:00
include/mach arm: mach-k3: Add support for device type detection 2022-08-04 15:32:20 -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
am625_init.c arm: mach-k3: Only build init files for SPL 2022-07-25 13:02:04 -04:00
am642_init.c arm: mach-k3: Only build init files for SPL 2022-07-25 13:02:04 -04:00
am654_init.c arm: mach-k3: Remove ROM firewalls on GP devices 2022-07-25 14:57:27 -04:00
arm64-mmu.c arm: mach-k3: Rename SOC_K3_AM6 to SOC_K3_AM654 2022-07-25 13:02:04 -04: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: Bypass image signing at runtime for GP devices 2022-08-04 15:32:20 -04:00
common.h arm: mach-k3: Add support for device type detection 2022-08-04 15:32:20 -04:00
config_secure.mk arm: mach-k3: Add secure device build support 2019-04-26 17:51:51 -04:00
config.mk arm: k3: config.mk: Read software revision information from file on HS 2022-07-25 14:57:27 -04:00
j721e_init.c arm: mach-k3: Remove ROM firewalls on GP devices 2022-07-25 14:57:27 -04:00
j721s2_init.c arm: mach-k3: Only build init files for SPL 2022-07-25 13:02:04 -04:00
Kconfig k3_gen_x509_cert: Make SWRV configurable for anti-rollback protection 2022-07-25 14:57:27 -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: security: Bypass image signing at runtime for GP devices 2022-08-04 15:32:20 -04:00
r5_mpu.c armv7R: K3: r5_mpu: Enable execute permission for MCU0 BTCM 2020-03-03 13:08:14 +05:30
security.c arm: mach-k3: security: Remove certificate if detected on GP device 2022-08-04 15:32:20 -04:00
sysfw-loader.c arm: k3: j721e: add dynamic sf bus override support for j721e 2022-07-06 14:30:08 -04:00