aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-09 09:28:21 -0600
committerTom Rini <trini@konsulko.com>2021-10-09 13:09:56 -0400
commit2a2d8e94ddc75c2c8d456e9163aa5dac510badcf (patch)
treee085b4c6bf58d86374bc541da07bf26716f274a1 /common
parent94e922c76a0e1fcdead3359e340f53fd0709a963 (diff)
downloadu-boot-2a2d8e94ddc75c2c8d456e9163aa5dac510badcf.zip
u-boot-2a2d8e94ddc75c2c8d456e9163aa5dac510badcf.tar.gz
u-boot-2a2d8e94ddc75c2c8d456e9163aa5dac510badcf.tar.bz2
lz4: Use a private header for U-Boot
At present U-Boot has a header file called lz4.h for its own use. If the host has its own lz4 header file installed (e.g. from the 'liblz4-dev' package) then host builds will use that instead. Move the U-Boot file into its own directory, as is done with various other headers with the same problem. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c
index 5b77113..3fa60b5 100644
--- a/common/image.c
+++ b/common/image.c
@@ -61,7 +61,6 @@ DECLARE_GLOBAL_DATA_PTR;
#include <display_options.h>
#include <gzip.h>
#include <image.h>
-#include <lz4.h>
#include <imximage.h>
#include <relocate.h>
#include <linux/lzo.h>
@@ -71,6 +70,7 @@ DECLARE_GLOBAL_DATA_PTR;
#include <lzma/LzmaDec.h>
#include <lzma/LzmaTools.h>
#include <u-boot/crc.h>
+#include <u-boot/lz4.h>
static const table_entry_t uimage_arch[] = {
{ IH_ARCH_INVALID, "invalid", "Invalid ARCH", },