k3_gen_x509_cert: Make SWRV configurable for anti-rollback protection
authorYogesh Siraswar <yogeshs@ti.com>
Fri, 15 Jul 2022 16:38:53 +0000 (11:38 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jul 2022 18:57:27 +0000 (14:57 -0400)
commit00194272519855ad26b7d5de2fd0419cf2963942
treee9186c49087a7cbadbcc3008ffb07ebb8738b850
parent080fe39b8cede93691b1988c7b6173a9c06e8219
k3_gen_x509_cert: Make SWRV configurable for anti-rollback protection

The x509 certificate SWRV is currently hard-coded to 0. This need to be
updated to 1 for j721e 1.1, j7200 and am64x. It is don't care for other
k3 devices.

Added new config K3_X509_SWRV to k3. Default is set to 1.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Reviewed-by: Dave Gerlach <d-gerlach@ti.com>
arch/arm/mach-k3/Kconfig
arch/arm/mach-k3/config.mk
tools/k3_gen_x509_cert.sh