[PATCH v3 12/15] x86: e820: use the lmb API for adding RAM memory
Simon Glass
sjg at chromium.org
Mon Oct 14 17:50:53 CEST 2024
Hi Sughosh,
On Sun, 13 Oct 2024 at 04:56, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> 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 <sughosh.ganu at linaro.org>
> ---
> Changes since V2: None
>
> arch/x86/lib/e820.c | 47 ++++++++++++++++++++++++++++++++++-----------
> lib/Kconfig | 2 +-
> 2 files changed, 37 insertions(+), 12 deletions(-)
>
Hmmm x86 is a bit of a mess since it sets up an e820 table and then
uses that to set up EFI!
This should be an event. But otherwise, this patch seems
reasonable...any x86 cleanup can happen later.
Regards,
Simon
More information about the U-Boot
mailing list