bloblist: Tidy up the data alignment
authorSimon Glass <sjg@chromium.org>
Sun, 20 Sep 2020 00:49:28 +0000 (18:49 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Oct 2020 15:07:54 +0000 (09:07 -0600)
commit751b7c79634003b4cb326b79e80202ea45b75fc8
tree2eaf7f16494841e8588ff6409255a09e339f7a19
parentcdd4e30dfcaba706120df340c0c8757d56e48b7a
bloblist: Tidy up the data alignment

The intention which bloblists is that each blob's data is aligned in
memory. At present it is only the headers that are aligned.

Update the code to correct this and add a little more documentation.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bloblist.c
test/bloblist.c