]> git.dujemihanovic.xyz Git - u-boot.git/commit
lmb: introduce a function to add memory to the lmb memory map
authorSughosh Ganu <sughosh.ganu@linaro.org>
Mon, 26 Aug 2024 11:59:23 +0000 (17:29 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 3 Sep 2024 20:08:50 +0000 (14:08 -0600)
commit8a9fc30f16acd127aaa9f24541d11fae1d972259
tree9aec2114435b5279f0fdc9c302e536a5d8e2bb63
parent6942bdb42aefdc7e5bdf17624408e49df725fa45
lmb: introduce a function to add memory to the lmb memory map

Introduce a function lmb_add_memory() to add available memory to the
LMB memory map. Call this function during board init once the LMB data
structures have been initialised.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/lmb.h
lib/lmb.c