mach-k3: security: improve the checks around authentication
authorManorit Chawdhry <m-chawdhry@ti.com>
Tue, 25 Jul 2023 07:39:22 +0000 (13:09 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 28 Jul 2023 14:11:01 +0000 (10:11 -0400)
commitc97ed47b42364f6b8b387aac331ab111480a8075
tree847f5eda493116c030c32cf92067288c66087399
parentc9122c2ee7049809207b3d2384ff392b2b3dd4d3
mach-k3: security: improve the checks around authentication

The following checks are more reasonable as the previous logs were a bit
misleading as we could still get the logs that the authetication is
being skipped but still authenticate. Move the debug prints and checks
to proper locations.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
arch/arm/mach-k3/security.c