Skip to content
Commit b661c1bc authored by Andrew Davis's avatar Andrew Davis Committed by Tom Rini
Browse files

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: default avatarAndrew Davis <afd@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent a0379c6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment