From: Simon Glass <s...@chromium.org> Allow the alignment to be specified when creating a bloblist.
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: Ilias Apalodimas <ilias.apalodi...@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!