
1 Jan
2024
1 Jan
'24
5:53 p.m.
From: Simon Glass sjg@chromium.org
Allow the alignment to be specified when creating a bloblist.
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: Ilias Apalodimas ilias.apalodimas@linaro.org --- Changes in v3 - Keep the flag argument to align to FW handoff spec up to commit 3592349. Changes in v4 - Minor fix to use a full ternary operator in function bloblist_new().
common/bloblist.c | 5 +++-- include/bloblist.h | 3 ++- test/bloblist.c | 40 ++++++++++++++++++++++------------------ 3 files changed, 27 insertions(+), 21 deletions(-)
Applied to u-boot-dm/next, thanks!