]> git.baikalelectronics.ru Git - uboot.git/commit
bloblist: Support allocating the bloblist
authorSimon Glass <sjg@chromium.org>
Thu, 4 Nov 2021 03:09:20 +0000 (21:09 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 5 Dec 2021 16:21:44 +0000 (09:21 -0700)
commit492e97b635dc0525f061f2a1f135f1ad9777c5b7
tree842f22a1bc589e25c4968440d4986c77dc00f46e
parentfb0bd735ba4bdbe62bf659f5ccd93bd6d5af4020
bloblist: Support allocating the bloblist

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>
common/Kconfig
common/bloblist.c
common/board_f.c
doc/develop/bloblist.rst