]> git.dujemihanovic.xyz Git - u-boot.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)
commite1ef04fb3e3a1eb417700e34510714be0277bee9
treef9d6a38af4ed7c29afdf9cedffae294c9d0ece6f
parentd1c079557fe3098da02ba92bb4e4d382e6f9b12a
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