[PATCH v2 10/18] bloblist: Handle alignment with a void entry

Simon Glass sjg at chromium.org
Sat Dec 2 19:31:33 CET 2023


On Mon, 27 Nov 2023 at 12:52, Raymond Mao <raymond.mao at linaro.org> wrote:
>
> From: Simon Glass <sjg at chromium.org>
>
> Rather than setting the alignment using the header size, add an entirely
> new entry to cover the gap left by the alignment.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
> ---
>  common/bloblist.c | 23 +++++++++++++++++++----
>  1 file changed, 19 insertions(+), 4 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

I am not comfortable with this approach as it makes it more
complicated to reused unused areas, but it is what we have ended up
with.


More information about the U-Boot mailing list