diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 03:25:25 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-22 12:38:15 -0400 |
commit | 551c3934466503e6c8702df412e2a9ce574557e9 (patch) | |
tree | 921eea1da5d7230786e19ae3e31b8d466af08d60 /cmd/Kconfig | |
parent | 520f556d0d6fac7bc442095815c4ba68efb719ca (diff) | |
download | u-boot-551c3934466503e6c8702df412e2a9ce574557e9.zip u-boot-551c3934466503e6c8702df412e2a9ce574557e9.tar.gz u-boot-551c3934466503e6c8702df412e2a9ce574557e9.tar.bz2 |
Convert CONFIG_CMD_HASH to Kconfig
This converts the following to Kconfig:
CONFIG_CMD_HASH
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
[trini: Rework slightly, enable on some boards again]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 7243f78..b05e69a 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -996,6 +996,14 @@ config CMD_BLOB generation/use as key for cryptographic operation. Key modifier should be 16 byte long. +config CMD_HASH + bool "Support 'hash' command" + help + This provides a way to hash data in memory using various supported + algorithms (such as SHA1, MD5, CRC32). The computed digest can be + saved to memory or to an environment variable. It is also possible + to verify a hash against data in memory. + config CMD_TPM bool "Enable the 'tpm' command" depends on TPM |