summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2024-10-15 21:07:12 +0530
committerTom Rini <trini@konsulko.com>2024-10-15 13:45:29 -0600
commit9ec406555714b0dd1edba151b071cb17e6dcbcb0 (patch)
tree5b19a48866c5140917ea158cf1fd0e6056c8fbf3 /lib
parent497da0c5ce9084fed8166b18b4f1f9dbe1532034 (diff)
layerscape: use the lmb API's to add RAM memory
The EFI memory allocations are now being done through the LMB module, and hence the memory map is maintained by the LMB module. Use the lmb_arch_add_memory() API function to add the usable RAM memory to the LMB's memory map. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 3d2011ad4b7..b6b8b8d9c29 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1122,6 +1122,7 @@ config SPL_LMB
config LMB_ARCH_MEM_MAP
bool "Add an architecture specific memory map"
depends on LMB
+ default y if FSL_LAYERSCAPE
help
Some architectures have special or unique aspects which need
consideration when adding memory ranges to the list of available