summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-18 02:08:00 (GMT)
committerWolfgang Denk <wd@denx.de>2010-01-21 21:21:22 (GMT)
commitdac4d7e8849d275023ea2fcae6caf941db91c042 (patch)
treeac3b7725ea9baa1f4136ca8b6ab7ca18dfd22189 /include
parent7114596a7d27798878f1d7170c2199bf88ba8418 (diff)
downloadu-boot-fsl-qoriq-dac4d7e8849d275023ea2fcae6caf941db91c042.tar.xz
sha1: add dedicated config option
The sha1 code is currently compiled for everyone, but in reality, it's only used by the FIT code. So make it optional just like MD5. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include')
-rw-r--r--include/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index d2e78fe..dcf3a7b 100644
--- a/include/image.h
+++ b/include/image.h
@@ -56,6 +56,7 @@
#include <libfdt.h>
#include <fdt_support.h>
#define CONFIG_MD5 /* FIT images need MD5 support */
+#define CONFIG_SHA1 /* and SHA1 */
#endif
/*