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 /common | |
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 'common')
-rw-r--r-- | common/image.c | 1 | ||||
-rw-r--r-- | common/spl/spl_fit.c | 1 | ||||
-rw-r--r-- | common/spl/spl_ymodem.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c index 495883185d4..719229cc439 100644 --- a/common/image.c +++ b/common/image.c @@ -17,6 +17,7 @@ #include <rtc.h> #include <environment.h> +#include <gzip.h> #include <image.h> #include <mapmem.h> diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 969f7775c18..2e2e09eafb1 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -7,6 +7,7 @@ #include <common.h> #include <errno.h> #include <fpga.h> +#include <gzip.h> #include <image.h> #include <linux/libfdt.h> #include <spl.h> diff --git a/common/spl/spl_ymodem.c b/common/spl/spl_ymodem.c index fa539ecd7af..20f42600625 100644 --- a/common/spl/spl_ymodem.c +++ b/common/spl/spl_ymodem.c @@ -9,6 +9,7 @@ * Matt Porter <mporter@ti.com> */ #include <common.h> +#include <gzip.h> #include <spl.h> #include <xyzModem.h> #include <asm/u-boot.h> |