mbox series

[0/5] bloblist: Add alignment control and a command

Message ID 20200920004930.2108887-1-sjg@chromium.org
Headers show
Series bloblist: Add alignment control and a command | expand

Message

Simon Glass Sept. 20, 2020, 12:49 a.m. UTC
This little series adds a 'bloblist' command to allow listing of
bloblists.

It also provides a way to set the alignment of the data in each blob.
This means that it is possible to align a blob's data to a 4KB boundary,
for example.


Simon Glass (5):
  bloblist: Add a command
  bloblist: Compare addresses rather than pointers in tests
  bloblist: Tidy up the data alignment
  bloblist: Allow custom alignment for blobs
  bloblist: Fix up a few comments

 cmd/Kconfig        |   9 +++
 cmd/Makefile       |   1 +
 cmd/bloblist.c     |  37 ++++++++++++
 common/bloblist.c  | 120 ++++++++++++++++++++++++++++++------
 include/bloblist.h |  42 +++++++++++--
 include/test/ut.h  |  13 ++++
 test/bloblist.c    | 148 ++++++++++++++++++++++++++++++++++++++++-----
 7 files changed, 333 insertions(+), 37 deletions(-)
 create mode 100644 cmd/bloblist.c