]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
image: Drop IMAGE_ENABLE_{MD5, CRC32} #defines
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Fri, 3 Sep 2021 00:54:22 +0000 (19:54 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 8 Sep 2021 20:12:10 +0000 (16:12 -0400)
These are no longer used, so drop them.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
include/image.h

index e4b9cd0df2d501fe5147adb65fba4cba05289f91..98b33d0629df2c78870ae1749ab45cad9f7f90fa 100644 (file)
@@ -60,26 +60,6 @@ struct fdt_region;
 #include <hash.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
-# ifdef CONFIG_SPL_BUILD
-#  ifdef CONFIG_SPL_CRC32
-#   define IMAGE_ENABLE_CRC32  1
-#  endif
-#  ifdef CONFIG_SPL_MD5
-#   define IMAGE_ENABLE_MD5    1
-#  endif
-# else
-#  define IMAGE_ENABLE_CRC32   1
-#  define IMAGE_ENABLE_MD5     1
-# endif
-
-#ifndef IMAGE_ENABLE_CRC32
-#define IMAGE_ENABLE_CRC32     0
-#endif
-
-#ifndef IMAGE_ENABLE_MD5
-#define IMAGE_ENABLE_MD5       0
-#endif
-
 #endif /* IMAGE_ENABLE_FIT */
 
 #ifdef CONFIG_SYS_BOOT_GET_CMDLINE