From: Raymond Mao <raymond.mao@linaro.org> Date: Thu, 16 May 2024 21:11:49 +0000 (-0700) Subject: image: remove redundant hash includes X-Git-Tag: v2025.01-rc5-pxa1908~398^2~84^2~3 X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=d9e9e699becf20d9fd06c3067b52c78b1e4d6d59;p=u-boot.git 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> --- diff --git a/boot/image-fit.c b/boot/image-fit.c index fb03cab831..f6464bcf62 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 eb12e4be04..bacf5146e1 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>