All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/15] image: A partial series for the image clean-up
@ 2021-09-25 13:03 Simon Glass
  2021-09-25 13:03 ` [PATCH v4 01/15] lib: Add memdup() Simon Glass
                   ` (14 more replies)
  0 siblings, 15 replies; 31+ messages in thread
From: Simon Glass @ 2021-09-25 13:03 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Heinrich Schuchardt, Alexandru Gagniuc, Bin Meng, Tom Rini,
	Simon Glass, Joe Hershberger, Marek Vasut, T Karthik Reddy

Now that the competing image clean-up has landed and the smoke has
cleared, we can come back to this one.

This series includes about a third of the original patches, mostly the
ones that apply cleanly.

It does not reduce the #idefs by as much, but it does make some small
code improvements.

Further patches can be pulled in once these ones have been reviewed and
land.

Build here:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/9251

Changes in v4:
- Rebase to master

Changes in v3:
- Pick up only the first part of the original v2 series

Changes in v2:
- Add a patch to introduce a memdup() function
- Add new abuf_init_set() function
- Update abuf_realloc() to return after every case
- Use const for abuf_data() and abuf_size()
- Make use of memdup()
- Add abuf_init_move()
- Add comments about the assumptions made by lib_test_abuf_realloc()
- Add better comments about why some tests are skipped at present
- Correct 'hose' typo

Simon Glass (15):
  lib: Add memdup()
  Add support for an owned buffer
  compiler: Add a comment to host_build()
  zstd: Create a function for use from U-Boot
  btrfs: Use U-Boot API for decompression
  image: Avoid switch default in image_decomp()
  image: Update zstd to avoid reporting error twice
  gzip: Avoid use of u64
  image: Update image_decomp() to avoid ifdefs
  image: Split board code out into its own file
  image: Fix up checkpatch warnings in image-board.c
  image: Split host code out into its own file
  image: Create a function to do manual relocation
  image: Avoid #ifdefs for manual relocation
  image: Remove ifdefs around image_setup_linux() el at

 common/Makefile           |    2 +-
 common/bootm.c            |   16 +-
 common/image-board.c      |  939 +++++++++++++++++++++++++++++
 common/image-host.c       |   27 +
 common/image-sig.c        |   40 +-
 common/image.c            | 1177 +++----------------------------------
 configs/sandbox_defconfig |    1 +
 fs/btrfs/compression.c    |   51 +-
 include/abuf.h            |  159 +++++
 include/compiler.h        |    8 +
 include/gzip.h            |    8 +-
 include/linux/string.h    |   13 +
 include/linux/zstd.h      |   11 +
 include/relocate.h        |   30 +-
 lib/Makefile              |    1 +
 lib/abuf.c                |  109 ++++
 lib/gunzip.c              |   28 +-
 lib/string.c              |   13 +
 lib/zstd/Makefile         |    2 +-
 lib/zstd/zstd.c           |   64 ++
 test/lib/Makefile         |    1 +
 test/lib/abuf.c           |  344 +++++++++++
 test/lib/string.c         |   32 +
 tools/Makefile            |    1 +
 24 files changed, 1887 insertions(+), 1190 deletions(-)
 create mode 100644 common/image-board.c
 create mode 100644 common/image-host.c
 create mode 100644 include/abuf.h
 create mode 100644 lib/abuf.c
 create mode 100644 lib/zstd/zstd.c
 create mode 100644 test/lib/abuf.c

-- 
2.33.0.685.g46640cef36-goog


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2021-10-09  1:41 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25 13:03 [PATCH v4 00/15] image: A partial series for the image clean-up Simon Glass
2021-09-25 13:03 ` [PATCH v4 01/15] lib: Add memdup() Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 02/15] Add support for an owned buffer Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 03/15] compiler: Add a comment to host_build() Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 04/15] zstd: Create a function for use from U-Boot Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 05/15] btrfs: Use U-Boot API for decompression Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 06/15] image: Avoid switch default in image_decomp() Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 07/15] image: Update zstd to avoid reporting error twice Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 08/15] gzip: Avoid use of u64 Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 09/15] image: Update image_decomp() to avoid ifdefs Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 10/15] image: Split board code out into its own file Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 11/15] image: Fix up checkpatch warnings in image-board.c Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 12/15] image: Split host code out into its own file Simon Glass
2021-10-09  1:38   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 13/15] image: Create a function to do manual relocation Simon Glass
2021-10-09  1:39   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 14/15] image: Avoid #ifdefs for " Simon Glass
2021-10-09  1:39   ` Tom Rini
2021-09-25 13:03 ` [PATCH v4 15/15] image: Remove ifdefs around image_setup_linux() el at Simon Glass
2021-10-09  1:39   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.