]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/image.h
fit: make sha256 support optional
[karo-tx-uboot.git] / include / image.h
index 0a072f5336c7f24fe1e81a9838c7565b3606820b..3e8f78d583de7da387567579d3b0920d536a9c0f 100644 (file)
@@ -72,6 +72,11 @@ struct lmb;
 #  define IMAGE_ENABLE_SHA256  1
 # endif
 
+#ifdef CONFIG_FIT_DISABLE_SHA256
+#undef CONFIG_SHA256
+#undef IMAGE_ENABLE_SHA256
+#endif
+
 #ifndef IMAGE_ENABLE_CRC32
 #define IMAGE_ENABLE_CRC32     0
 #endif