summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 18:46:36 +0300
committerTom Rini <trini@konsulko.com>2019-08-11 23:43:41 +0300
commit0c670fc1481d2296f1f5837ea5c15cfbdaed710c (patch)
tree8ef8e9be714983218248ee61ea2d33ccc828a146 /common
parent0d6c7c60ea17c2323c1f78dbc71343d537dd33e3 (diff)
downloadu-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 'common')
-rw-r--r--common/image.c1
-rw-r--r--common/spl/spl_fit.c1
-rw-r--r--common/spl/spl_ymodem.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index 495883185d..719229cc43 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 969f7775c1..2e2e09eafb 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 fa539ecd7a..20f4260062 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>