From: Simon Glass <s...@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(). Update the bloblist alignment from 16 bytes to 8 bytes. Drop a stale comment while we are here.
Signed-off-by: Simon Glass <s...@chromium.org> Co-developed-by: Raymond Mao <raymond....@linaro.org> Signed-off-by: Raymond Mao <raymond....@linaro.org> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Ilias Apalodimas <ilias.apalodi...@linaro.org> --- Changes in v2 - Update the bloblist alignment to align to FW handoff spec v0.9. Changes in v4 - Update the commit message. arch/x86/lib/tables.c | 3 ++- common/bloblist.c | 24 +++++++++++------------- include/bloblist.h | 12 +++++++----- test/bloblist.c | 4 ++-- 4 files changed, 22 insertions(+), 21 deletions(-) Applied to u-boot-dm/next, thanks!