Re: [PATCH 11/14] bloblist: Reduce blob-header size

2023-07-26 Thread Julius Werner
> - rec->tag = tag; > - rec->hdr_size = sizeof(struct bloblist_rec); > + rec->tag_and_hdr_size = tag | sizeof(*rec) << > BLOBLISTR_HDR_SIZE_SHIFT; nit: Might be a good idea to mask the tag or double-check that it fits the field size here. > - * 5. Bloblist uses 16-byte

[PATCH 11/14] bloblist: Reduce blob-header size

2023-07-25 Thread Simon Glass
The v0.9 spec provides for an 8-byte header for each blob, with fewer fields. Update the implementation to match this. Signed-off-by: Simon Glass --- common/bloblist.c | 17 + include/bloblist.h | 33 ++--- test/bloblist.c| 16