summaryrefslogtreecommitdiff
path: root/arch/arc/lib/cache.c
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2024-08-26 17:29:24 +0530
committerTom Rini <trini@konsulko.com>2024-09-03 14:08:50 -0600
commitf4fb154f0a9bbb1d3c6b6e097ff6e3eb1b6216a0 (patch)
tree13c11c54e6d2bbd6e4f3b6b83bc2b7055bb14930 /arch/arc/lib/cache.c
parent8a9fc30f16acd127aaa9f24541d11fae1d972259 (diff)
lmb: reserve common areas during board init
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. When executing in SPL, reserve the sections that get relocated to the ram memory, the stack and the global data structure and also the bss. 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.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arc/lib/cache.c')
0 files changed, 0 insertions, 0 deletions