On Mon, 27 Nov 2023 at 12:53, Raymond Mao <raymond....@linaro.org> wrote: > > From: Simon Glass <s...@chromium.org> > > The v0.9 spec provides for an 8-byte header for each blob, with fewer > fields. > The blob start address should be aligned to the alignment specified > by the bloblist header. > Update the implementation to match this. > > Signed-off-by: Simon Glass <s...@chromium.org> > Co-developed-by: Raymond Mao <raymond....@linaro.org> > Signed-off-by: Raymond Mao <raymond....@linaro.org> > --- > Changes in v2 > - Update the blob start address to align to the alignment required by > the bloblist header. > - Define the macros of bloblist header size and bloblist record header > size as the size of their structures. > > common/bloblist.c | 17 +++++++++-------- > include/bloblist.h | 33 ++++++++++++++++++++++----------- > test/bloblist.c | 16 ++++++++-------- > 3 files changed, 39 insertions(+), 27 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>