From ad33ce2e6c13799cddd1ef6997b624fc4f049809 Mon Sep 17 00:00:00 2001 From: Sughosh Ganu Date: Tue, 15 Oct 2024 21:07:13 +0530 Subject: 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 --- lib/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.3.1