[U-Boot] [PATCH v2 01/40] common: Move gzip functions into a new gzip header

Simon Goldschmidt
2019-08-01T18:23:56Z

Am 01.08.2019 um 17:46 schrieb Simon Glass:
> 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>

Nice cleanup!

Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>

> ---
>
> Changes in v2:
> - Update to add header to image.c instead of bootm.c
>
> board/menlo/m53menlo/m53menlo.c | 1 +
> cmd/bmp.c | 8 +--
> cmd/config.c | 1 +
> cmd/fpga.c | 1 +
> cmd/license.c | 1 +
> cmd/unzip.c | 1 +
> cmd/ximg.c | 1 +
> common/image.c | 1 +
> common/spl/spl_fit.c | 1 +
> common/spl/spl_ymodem.c | 1 +
> drivers/video/cfb_console.c | 1 +
> fs/ubifs/ubifs.c | 1 +
> include/common.h | 52 ----------------
> include/gzip.h | 103 ++++++++++++++++++++++++++++++++
> lib/fdtdec.c | 1 +
> lib/gunzip.c | 5 +-
> lib/gzip.c | 1 +
> test/compression.c | 1 +
> 18 files changed, 124 insertions(+), 58 deletions(-)
> create mode 100644 include/gzip.h