U-boot Archive mirror
 help / color / mirror / Atom feed
From: Raymond Mao <raymond.mao@linaro.org>
To: u-boot@lists.denx.de
Cc: Raymond Mao <raymond.mao@linaro.org>,
	Tom Rini <trini@konsulko.com>,
	Igor Opaniuk <igor.opaniuk@gmail.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Alexey Brodkin <alexey.brodkin@synopsys.com>,
	Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>,
	Phil Sutter <phil@nwl.cc>, Tony Dinh <mibodhi@gmail.com>,
	Walter Schweizer <swwa@users.sourceforge.net>,
	Mario Six <mario.six@gdsys.cc>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Simon Glass <sjg@chromium.org>, Nishanth Menon <nm@ti.com>,
	Roger Quadros <rogerq@kernel.org>,
	Jonathan Humphreys <j-humphreys@ti.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Bin Meng <bmeng.cn@gmail.com>,
	Caleb Connolly <caleb.connolly@linaro.org>,
	Eddie James <eajames@linux.ibm.com>,
	Masahisa Kojima <kojima.masahisa@socionext.com>,
	Jassi Brar <jaswinder.singh@linaro.org>,
	Masami Hiramatsu <masami.hiramatsu@linaro.org>,
	Michal Simek <michal.simek@amd.com>,
	AKASHI Takahiro <akashi.tkhro@gmail.com>,
	Etienne Carriere <etienne.carriere@foss.st.com>,
	uboot-snps-arc@synopsys.com
Subject: [PATCH v3 1/4] image: remove redundant hash includes
Date: Thu, 16 May 2024 14:11:49 -0700	[thread overview]
Message-ID: <20240516211156.1819939-2-raymond.mao@linaro.org> (raw)
In-Reply-To: <20240516211156.1819939-1-raymond.mao@linaro.org>

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>
---
Changes in v2
- None.
Changes in v3
- None.

 boot/image-fit.c | 4 ----
 boot/image.c     | 2 --
 2 files changed, 6 deletions(-)

diff --git a/boot/image-fit.c b/boot/image-fit.c
index fb03cab831b..f6464bcf620 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 eb12e4be04a..bacf5146e13 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>
 
-- 
2.25.1


  reply	other threads:[~2024-05-16 21:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16 21:11 [PATCH v3 0/4] Clean-up patch set for MbedTLS integration Raymond Mao
2024-05-16 21:11 ` Raymond Mao [this message]
2024-05-16 21:11 ` [PATCH v3 2/4] efi_loader: remove redundant hash includes Raymond Mao
2024-05-16 21:11 ` [PATCH v3 3/4] md5: Use typedef for MD5 context Raymond Mao
2024-05-16 21:11 ` [PATCH v3 4/4] include: Move snprintf to stdio.h Raymond Mao
2024-05-16 21:13   ` Tom Rini
2024-05-21  8:46   ` Ilias Apalodimas
2024-05-23  2:46 ` [PATCH v3 0/4] Clean-up patch set for MbedTLS integration Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240516211156.1819939-2-raymond.mao@linaro.org \
    --to=raymond.mao@linaro.org \
    --cc=Eugeniy.Paltsev@synopsys.com \
    --cc=akashi.tkhro@gmail.com \
    --cc=alexey.brodkin@synopsys.com \
    --cc=bmeng.cn@gmail.com \
    --cc=caleb.connolly@linaro.org \
    --cc=eajames@linux.ibm.com \
    --cc=etienne.carriere@foss.st.com \
    --cc=igor.opaniuk@gmail.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=j-humphreys@ti.com \
    --cc=jaswinder.singh@linaro.org \
    --cc=kojima.masahisa@socionext.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=mario.six@gdsys.cc \
    --cc=masami.hiramatsu@linaro.org \
    --cc=mibodhi@gmail.com \
    --cc=michal.simek@amd.com \
    --cc=nm@ti.com \
    --cc=phil@nwl.cc \
    --cc=rogerq@kernel.org \
    --cc=sjg@chromium.org \
    --cc=swwa@users.sourceforge.net \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-snps-arc@synopsys.com \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).