[PATCH v3 02/14] bloblist: Adjust API to align in powers of 2

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Dec 27 10:53:10 CET 2023


Hi,

On Mon, 18 Dec 2023 at 20:19, Raymond Mao <raymond.mao at linaro.org> wrote:
>
> From: Simon Glass <sjg at chromium.org>
>
> The updated bloblist structure stores the alignment as a power-of-two
> value in its structures. Adjust the API to use this, to avoid needing to
> calling ilog2().
>
> Drop a stale comment while we are here.

The patch does more than what the description suggests. So either the
new 8b alignment is wrong or the commit message needs and update and
explain why we are changing this.

>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Co-developed-by: Raymond Mao <raymond.mao at linaro.org>
> Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---

[...]

Thanks
/Ilias


More information about the U-Boot mailing list