On Thu, 4 Jul 2024 at 08:37, Sughosh Ganu <sughosh.g...@linaro.org> wrote: > > The LMB module provides API's for allocating and reserving chunks of > memory which is then typically used for things like loading images for > booting. Reserve the portion of memory that is occupied by the U-Boot > image itself, and other parts of memory that might have been marked as > reserved in the board's DTB. > > Mark these regions of memory with the LMB_NOOVERWRITE flag to indicate > that these regions cannot be re-requested or overwritten. > > Signed-off-by: Sughosh Ganu <sughosh.g...@linaro.org> > --- > Changes since V1: > * Mark the reserved regions as LMB_NOOVERWRITE. > * Call the lmb_reserve_common() function in U-Boot proper after > relocation. > > lib/lmb.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>