diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 09:46:36 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | 0c670fc1481d2296f1f5837ea5c15cfbdaed710c (patch) | |
tree | 8ef8e9be714983218248ee61ea2d33ccc828a146 /lib/gunzip.c | |
parent | 0d6c7c60ea17c2323c1f78dbc71343d537dd33e3 (diff) | |
download | u-boot-0c670fc1481d2296f1f5837ea5c15cfbdaed710c.zip u-boot-0c670fc1481d2296f1f5837ea5c15cfbdaed710c.tar.gz u-boot-0c670fc1481d2296f1f5837ea5c15cfbdaed710c.tar.bz2 |
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 'lib/gunzip.c')
-rw-r--r-- | lib/gunzip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gunzip.c b/lib/gunzip.c index 15c7b2c..1d65616 100644 --- a/lib/gunzip.c +++ b/lib/gunzip.c @@ -5,14 +5,15 @@ */ #include <common.h> -#include <watchdog.h> #include <command.h> #include <console.h> +#include <div64.h> +#include <gzip.h> #include <image.h> #include <malloc.h> #include <memalign.h> +#include <watchdog.h> #include <u-boot/zlib.h> -#include <div64.h> #define HEADER0 '\x1f' #define HEADER1 '\x8b' |