summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Lukin <4.shket@gmail.com>2023-07-14 17:39:32 +0300
committerTom Rini <trini@konsulko.com>2023-08-09 00:41:52 +0300
commit1a549c8961a6db72db374a4db2be598b30c9c46d (patch)
tree12acfa47afb7fbceb419c9469beda3a0f9b2ce1b
parent08404fa2087946bb370430d466fe5011f18ef072 (diff)
downloadu-boot-1a549c8961a6db72db374a4db2be598b30c9c46d.tar.xz
crc32: Drop duplicates crc header includes
Fixes: 3db711085752 ("crc32: Use the crc.h header for crc functions") Signed-off-by: Ilya Lukin <4.shket@gmail.com>
-rw-r--r--board/sunxi/board.c1
-rw-r--r--boot/android_ab.c1
-rw-r--r--common/hash.c1
-rw-r--r--lib/crc32.c1
-rw-r--r--tools/default_image.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index f321cd58a6..de0f3505e5 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -33,7 +33,6 @@
#include <asm/arch/sys_proto.h>
#include <asm/global_data.h>
#include <linux/delay.h>
-#include <u-boot/crc.h>
#ifndef CONFIG_ARM64
#include <asm/armv7.h>
#endif
diff --git a/boot/android_ab.c b/boot/android_ab.c
index 73b55c196c..0f20a34e51 100644
--- a/boot/android_ab.c
+++ b/boot/android_ab.c
@@ -12,7 +12,6 @@
#include <memalign.h>
#include <linux/err.h>
#include <u-boot/crc.h>
-#include <u-boot/crc.h>
/**
* Compute the CRC-32 of the bootloader control struct.
diff --git a/common/hash.c b/common/hash.c
index cbffdfd6db..159179e7f2 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -21,7 +21,6 @@
#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/errno.h>
-#include <u-boot/crc.h>
#else
#include "mkimage.h"
#include <linux/compiler_attributes.h>
diff --git a/lib/crc32.c b/lib/crc32.c
index aa94d70ef3..f6fad8c15d 100644
--- a/lib/crc32.c
+++ b/lib/crc32.c
@@ -10,7 +10,6 @@
#ifdef USE_HOSTCC
#include <arpa/inet.h>
-#include <u-boot/crc.h>
#else
#include <common.h>
#include <efi_loader.h>
diff --git a/tools/default_image.c b/tools/default_image.c
index 0e49ab3301..04bc85bf93 100644
--- a/tools/default_image.c
+++ b/tools/default_image.c
@@ -15,7 +15,6 @@
#include "imagetool.h"
#include "mkimage.h"
-#include <u-boot/crc.h>
#include <image.h>
#include <tee/optee.h>