aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Mao <raymond.mao@linaro.org>2024-05-16 14:11:49 -0700
committerTom Rini <trini@konsulko.com>2024-05-22 08:55:28 -0600
commitd9e9e699becf20d9fd06c3067b52c78b1e4d6d59 (patch)
tree104485e2e0e45bb69a3a869e58480add59b88bc9
parentefbc11ccef89030ed54b7368458eeaf9ec687c77 (diff)
downloadu-boot-d9e9e699becf20d9fd06c3067b52c78b1e4d6d59.zip
u-boot-d9e9e699becf20d9fd06c3067b52c78b1e4d6d59.tar.gz
u-boot-d9e9e699becf20d9fd06c3067b52c78b1e4d6d59.tar.bz2
image: remove redundant hash includes
Remove the redundant includes of u-boot/md5.h, u-boot/sha1.h, u-boot/sha256.h and u-boot/sha512.h Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r--boot/image-fit.c4
-rw-r--r--boot/image.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/boot/image-fit.c b/boot/image-fit.c
index fb03cab..f6464bc 100644
--- a/boot/image-fit.c
+++ b/boot/image-fit.c
@@ -37,10 +37,6 @@ DECLARE_GLOBAL_DATA_PTR;
#include <image.h>
#include <bootstage.h>
#include <u-boot/crc.h>
-#include <u-boot/md5.h>
-#include <u-boot/sha1.h>
-#include <u-boot/sha256.h>
-#include <u-boot/sha512.h>
/*****************************************************************************/
/* New uImage format routines */
diff --git a/boot/image.c b/boot/image.c
index eb12e4b..bacf514 100644
--- a/boot/image.c
+++ b/boot/image.c
@@ -25,8 +25,6 @@
#endif
#include <asm/global_data.h>
-#include <u-boot/md5.h>
-#include <u-boot/sha1.h>
#include <linux/errno.h>
#include <asm/io.h>