]> git.dujemihanovic.xyz Git - u-boot.git/commit
lmb: init: initialise the lmb data structures during board init
authorSughosh Ganu <sughosh.ganu@linaro.org>
Mon, 26 Aug 2024 11:59:28 +0000 (17:29 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 3 Sep 2024 20:08:50 +0000 (14:08 -0600)
commitb6400de7e03cdd5e93195bf260dc7ab9f68aea8f
treee91533d856c5eaf61d128cc0e2f6da19a14c12ed
parentc2c50d52d9474ed8d6796d3def2083d5ad549dcc
lmb: init: initialise the lmb data structures during board init

The memory map maintained by the LMB module is now persistent and
global. This memory map is being maintained through the alloced list
structure which can be extended at runtime -- there is one list for
the available memory, and one for the used memory. Allocate and
initialise these lists during the board init.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
common/board_r.c
common/spl/spl.c