]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mach-k3: security: Allow signing bypass if type is HS-FS
authorAndrew Davis <afd@ti.com>
Fri, 15 Jul 2022 16:34:33 +0000 (11:34 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 19:32:20 +0000 (15:32 -0400)
commitc9ade17ac2713f63dde6a0e48d6ed0885f330ea1
treef9d6a38af4ed7c29afdf9cedffae294c9d0ece6f
parent9e23aed8f607f87d3c2c35a2642a4af5fbc04b5a
arm: mach-k3: security: Allow signing bypass if type is HS-FS

On HS-FS devices signing boot images is optional. To ease use
we check if we are HS-FS and if no certificate is attached
to the image we skip the authentication step with a warning
that this will fail when the device is set to security enforcing.

Signed-off-by: Andrew Davis <afd@ti.com>
arch/arm/mach-k3/security.c