[PATCH v4 18/34] bloblist: Support allocating the bloblist

Simon Glass sjg at chromium.org
Sun Dec 5 20:46:06 CET 2021

Typically the bloblist is positioned at a fixed address in memory until
relocation. This is convenient when it is set up in SPL or before

But for EFI we want to set it up only when U-Boot proper is running. Add
a way to allocate it using malloc() and update the documentation to cover
this aspect of bloblist.

Note there are no tests of this feature at present, nor any direct testing
of bloblist_init().

This can be added, e.g. by making this option controllable at runtime.

Signed-off-by: Simon Glass <sjg at chromium.org>

(no changes since v1)

 common/Kconfig           | 15 +++++++++++++--
 common/bloblist.c        | 16 ++++++++++++++--
 common/board_f.c         |  8 +++++++-
 doc/develop/bloblist.rst | 16 ++++++++++++++++
 4 files changed, 50 insertions(+), 5 deletions(-)

Applied to u-boot-dm/next, thanks!

More information about the U-Boot mailing list