summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2024-10-15 21:07:13 +0530
committerTom Rini <[email protected]>2024-10-15 13:45:30 -0600
commitad33ce2e6c13799cddd1ef6997b624fc4f049809 (patch)
treee557de077dc2271618a81a0f39b60aa8ecdf5529 /lib
parent9ec406555714b0dd1edba151b071cb17e6dcbcb0 (diff)
x86: e820: use the lmb API for adding RAM memory
The EFI_CONVENTIONAL_MEMORY type is now being managed through the LMB module. Add a separate function, lmb_arch_add_memory() to add the RAM memory to the LMB memory map. The efi_add_known_memory() function is now used for adding any other memory type to the EFI memory map. Signed-off-by: Sughosh Ganu <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index b6b8b8d9c29..fc2db747dcc 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1122,7 +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
+ default y if FSL_LAYERSCAPE || X86
help
Some architectures have special or unique aspects which need
consideration when adding memory ranges to the list of available