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

Simon Glass
2021-12-05T19:48:21Z

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
relocation.

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@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!