diff options
author | Tom Rini <trini@konsulko.com> | 2022-06-17 23:24:32 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-07-06 00:04:01 +0300 |
commit | 5aad0a14bacc22b9d36956f12fa9480e3c0c672f (patch) | |
tree | 748cfb403c1bcee3ebd794a1301df1f1f69af3a4 /arch/Kconfig.nxp | |
parent | 540b73a7be6dbe87a2f0c9e86d1d9178bc7f7b76 (diff) | |
download | u-boot-5aad0a14bacc22b9d36956f12fa9480e3c0c672f.tar.xz |
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>
Diffstat (limited to 'arch/Kconfig.nxp')
-rw-r--r-- | arch/Kconfig.nxp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/Kconfig.nxp b/arch/Kconfig.nxp index 273e8e86da..ccbf684bdb 100644 --- a/arch/Kconfig.nxp +++ b/arch/Kconfig.nxp @@ -64,6 +64,17 @@ config SYS_FSL_SFP_VER_3_4 endchoice +config SPL_UBOOT_KEY_HASH + string "Non-SRK key hash for U-Boot public/private key pair" + depends on SPL + default "" + help + Set the key hash for U-Boot here if public/private key pair used to + sign U-boot are different from the SRK hash put in the fuse. Example + of a key hash is + 41066b564c6ffcef40ccbc1e0a5d0d519604000c785d97bbefd25e4d288d1c8b. + Otherwise leave this empty. + config SYS_FSL_SRK_LE def_bool y depends on ARM |