fsl_validate: Migrate SPL_UBOOT_KEY_HASH to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 17 Jun 2022 20:24:32 +0000 (16:24 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jul 2022 21:04:01 +0000 (17:04 -0400)
commit5aad0a14bacc22b9d36956f12fa9480e3c0c672f
tree748cfb403c1bcee3ebd794a1301df1f1f69af3a4
parent540b73a7be6dbe87a2f0c9e86d1d9178bc7f7b76
fsl_validate: Migrate SPL_UBOOT_KEY_HASH to Kconfig

Move setting of SPL_UBOOT_KEY_HASH to a non-NULL value to Kconfig.  As
part of this, change fsl_secboot_validate(...) to check that it is
passed a non-empty string, rather than non-NULL.

Cc: Peng Fan <peng.fan@nxp.com>
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Cc: Kshitiz Varshney <kshitiz.varshney@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/Kconfig.nxp
arch/arm/include/asm/fsl_secure_boot.h
arch/powerpc/include/asm/fsl_secure_boot.h
board/freescale/common/fsl_validate.c