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

Raymond Mao raymond.mao at linaro.org
Wed Dec 27 16:19:38 CET 2023


Hi Ilias,

On Wed, 27 Dec 2023 at 04:53, Ilias Apalodimas <ilias.apalodimas at linaro.org>
wrote:

> 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.
>
> The 8-byte-alignment is correct and matching with the spec.
I will update the commit message.

[...]

Regards,
Raymond


More information about the U-Boot mailing list