diff options
author | Simon Glass | 2019-08-01 09:46:36 -0600 |
---|---|---|
committer | Tom Rini | 2019-08-11 16:43:41 -0400 |
commit | 0c670fc1481d2296f1f5837ea5c15cfbdaed710c (patch) | |
tree | 8ef8e9be714983218248ee61ea2d33ccc828a146 /cmd | |
parent | 0d6c7c60ea17c2323c1f78dbc71343d537dd33e3 (diff) |
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
diff --git a/cmd/bmp.c b/cmd/bmp.c index 00f0256a30e..d2a39f677fd 100644 --- a/cmd/bmp.c +++ b/cmd/bmp.c @@ -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 fcc9116a497..d2810d573b0 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 eba989a7302..9fc2df699d7 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 1c0794f0952..c5b04c331b1 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 6c0f97cb4bb..8474d9becf8 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 9e53cc45572..920a80edc88 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> |