Skip to content
Commit 1a2e02f9 authored by Simon Glass's avatar Simon Glass
Browse files

bloblist: Adjust API to align in powers of 2



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: default avatarSimon Glass <sjg@chromium.org>
Co-developed-by: default avatarRaymond Mao <raymond.mao@linaro.org>
Signed-off-by: default avatarRaymond Mao <raymond.mao@linaro.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent e748e4b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment