bloblist: refactor xferlist and bloblist
authorRaymond Mao <raymond.mao@linaro.org>
Thu, 20 Feb 2025 00:02:19 +0000 (16:02 -0800)
committerTom Rini <trini@konsulko.com>
Thu, 20 Feb 2025 00:49:36 +0000 (18:49 -0600)
commit6799f09069f402a33c9cb202b71e144497bd9b7a
tree2b13bc02a4a75795ed42de3885b50bd4a2e60eb4
parent42aebf0f987798599b5f2d2ca6098a775bb9f448
bloblist: refactor xferlist and bloblist

Refactor the xferlist to remove the relocating when bloblist passed
from the boot args.
Refactor bloblist init to use incoming standard passage by default
if a valid transfer list exists in the boot args.
For bloblist relocation, use the actual total size if it has a smaller
BLOBLIST_SIZE_RELOC.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Suggested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
arch/arm/lib/xferlist.c
common/bloblist.c
common/board_f.c
include/bloblist.h