Kconfig: introduce md5sum command selection
So far CONFIG_MD5SUM would need to be set by a board's include file. Since the command is really generic, move it over to Kconfig to allow it to be defined by either a board's defconfig, menuconfig or some config snippet merged via mergeconfig.sh. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a5b3b2d91f
commit
bea79d7d3f
14
cmd/Kconfig
14
cmd/Kconfig
|
@ -338,6 +338,20 @@ config CMD_CRC32
|
||||||
help
|
help
|
||||||
Compute CRC32.
|
Compute CRC32.
|
||||||
|
|
||||||
|
config CMD_MD5SUM
|
||||||
|
bool "md5sum"
|
||||||
|
default n
|
||||||
|
select MD5
|
||||||
|
help
|
||||||
|
Compute MD5 checksum.
|
||||||
|
|
||||||
|
config MD5SUM_VERFIY
|
||||||
|
bool "md5sum -v"
|
||||||
|
default n
|
||||||
|
depends on CMD_MD5SUM
|
||||||
|
help
|
||||||
|
Add -v option to verify data against an MD5 checksum.
|
||||||
|
|
||||||
config LOOPW
|
config LOOPW
|
||||||
bool "loopw"
|
bool "loopw"
|
||||||
help
|
help
|
||||||
|
|
|
@ -101,6 +101,10 @@ config SHA_PROG_HW_ACCEL
|
||||||
SHA1/SHA256 progressive hashing.
|
SHA1/SHA256 progressive hashing.
|
||||||
Data can be streamed in a block at a time and the hashing
|
Data can be streamed in a block at a time and the hashing
|
||||||
is performed in hardware.
|
is performed in hardware.
|
||||||
|
|
||||||
|
config MD5
|
||||||
|
bool
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Compression Support"
|
menu "Compression Support"
|
||||||
|
|
Loading…
Reference in New Issue