diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 18:46:36 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 23:43:41 +0300 |
commit | 0c670fc1481d2296f1f5837ea5c15cfbdaed710c (patch) | |
tree | 8ef8e9be714983218248ee61ea2d33ccc828a146 /cmd | |
parent | 0d6c7c60ea17c2323c1f78dbc71343d537dd33e3 (diff) | |
download | u-boot-0c670fc1481d2296f1f5837ea5c15cfbdaed710c.tar.xz |
common: Move gzip functions into a new gzip header
As part of the effort to remove things from common.h, create a new header
for the gzip functions. Move the function declarations to it and add
missing documentation.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bmp.c | 8 | ||||
-rw-r--r-- | cmd/config.c | 1 | ||||
-rw-r--r-- | cmd/fpga.c | 1 | ||||
-rw-r--r-- | cmd/license.c | 1 | ||||
-rw-r--r-- | cmd/unzip.c | 1 | ||||
-rw-r--r-- | cmd/ximg.c | 1 |
6 files changed, 9 insertions, 4 deletions
@@ -9,16 +9,16 @@ */ #include <common.h> -#include <dm.h> -#include <lcd.h> -#include <mapmem.h> #include <bmp_layout.h> #include <command.h> -#include <asm/byteorder.h> +#include <dm.h> +#include <gzip.h> +#include <lcd.h> #include <malloc.h> #include <mapmem.h> #include <splash.h> #include <video.h> +#include <asm/byteorder.h> static int bmp_info (ulong addr); diff --git a/cmd/config.c b/cmd/config.c index fcc9116a49..d2810d573b 100644 --- a/cmd/config.c +++ b/cmd/config.c @@ -5,6 +5,7 @@ #include <common.h> #include <command.h> +#include <gzip.h> #include <malloc.h> #include "config_data_gz.h" diff --git a/cmd/fpga.c b/cmd/fpga.c index eba989a730..9fc2df699d 100644 --- a/cmd/fpga.c +++ b/cmd/fpga.c @@ -11,6 +11,7 @@ #include <command.h> #include <fpga.h> #include <fs.h> +#include <gzip.h> #include <malloc.h> static long do_fpga_get_device(char *arg) diff --git a/cmd/license.c b/cmd/license.c index 1c0794f095..c5b04c331b 100644 --- a/cmd/license.c +++ b/cmd/license.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> +#include <gzip.h> #include <malloc.h> #include "license_data_gz.h" diff --git a/cmd/unzip.c b/cmd/unzip.c index 6c0f97cb4b..8474d9becf 100644 --- a/cmd/unzip.c +++ b/cmd/unzip.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> +#include <gzip.h> static int do_unzip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { diff --git a/cmd/ximg.c b/cmd/ximg.c index 9e53cc4557..920a80edc8 100644 --- a/cmd/ximg.c +++ b/cmd/ximg.c @@ -13,6 +13,7 @@ */ #include <common.h> #include <command.h> +#include <gzip.h> #include <image.h> #include <mapmem.h> #include <watchdog.h> |