diff options
author | Simon Glass <sjg@chromium.org> | 2023-12-27 13:07:00 -0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-12-31 07:21:02 -0700 |
commit | 1a2e02f955f98395142415d7c6cc14e4df903969 (patch) | |
tree | 59f3057b5cede46f4dcccf2fa9ecdcea6facf032 /arch/riscv | |
parent | e748e4b780057872b4a7192db87476adaa8b501c (diff) | |
download | u-boot-1a2e02f955f98395142415d7c6cc14e4df903969.tar.gz u-boot-1a2e02f955f98395142415d7c6cc14e4df903969.tar.bz2 u-boot-1a2e02f955f98395142415d7c6cc14e4df903969.zip |
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: Simon Glass <sjg@chromium.org>
Co-developed-by: Raymond Mao <raymond.mao@linaro.org>
Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions