diff options
author | Alexander Holler <holler@ahsoftware.de> | 2011-01-18 09:48:08 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-01-19 09:39:10 +0100 |
commit | c6b1ee664a12534927fa825346696cbd3ca57774 (patch) | |
tree | 5409dfba35835c4a637294acb1accb5a97d131cc /common | |
parent | a98ec7e880c38d433886818f97f5b222ade6b795 (diff) | |
download | u-boot-imx-c6b1ee664a12534927fa825346696cbd3ca57774.zip u-boot-imx-c6b1ee664a12534927fa825346696cbd3ca57774.tar.gz u-boot-imx-c6b1ee664a12534927fa825346696cbd3ca57774.tar.bz2 |
Fix defines needed to enable command sha1sum
Documented is CONFIG_CMD_SHA1, through confusion in the source
CONFIG_CMD_SHA1 and CONFIG_CMD_SHA1SUM has to be used to enable
sha1sum.
Fix both, the documentation and the source, so that only
CONFIG_CMD_SHA1SUM is needed to enable the command sha1sum.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c index f03233c..ccf420a 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -1184,7 +1184,7 @@ int do_md5sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) } #endif -#ifdef CONFIG_CMD_SHA1 +#ifdef CONFIG_CMD_SHA1SUM int do_sha1sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { unsigned long addr, len; @@ -1343,7 +1343,7 @@ U_BOOT_CMD( "compute SHA1 message digest", "address count" ); -#endif /* CONFIG_CMD_SHA1 */ +#endif /* CONFIG_CMD_SHA1SUM */ #ifdef CONFIG_CMD_UNZIP U_BOOT_CMD( |