[PATCH 13/14] bloblist: Add alignment to bloblist_new()

Julius Werner jwerner at chromium.org
Wed Jul 26 22:20:38 CEST 2023


I'm not sure why you would add an API to allow setting this
explicitly, that's not really how it is supposed to work according to
the spec. New TLs are always supposed to start with an alignment
requirement of 8 (2^3) and then automatically increase that value if a
TE gets added that has a larger requirement. There should be no use
case where you'd want to initially create a TL that already has a
larger number in that field (it doesn't make any difference... in
particular, note that just because the alignment field has a larger
value doesn't mean that the start of the TL must be aligned to that
larger boundary; the field is only used to preserve the offset from
the next alignment boundary during relocation).


More information about the U-Boot mailing list