Kconfig: Add CONFIG_HASH to enable hashing API
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 15:05:34 +0000 (09:05 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 16:38:22 +0000 (12:38 -0400)
commitd70f919e49c9105c49427786a1731feae322cb7a
tree28f8a708b6cab47b90b3a7c5564809c11d7de930
parent551c3934466503e6c8702df412e2a9ce574557e9
Kconfig: Add CONFIG_HASH to enable hashing API

At present CONFIG_CMD_HASH enables the 'hash' command which also brings
in the hashing API. Some boards may wish to enable the API without the
command. Add a separate CONFIG to permit this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/Kconfig
common/Kconfig
common/Makefile
common/hash.c