efi_loader: allow for removal of memory from the EFI map
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Mon, 17 Mar 2025 08:33:58 +0000 (14:03 +0530)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 26 Mar 2025 11:28:08 +0000 (13:28 +0200)
commitc5f6542aa8ae93b7705e27103a9fdaf8445e2915
treedd59bde3001d351d14827aefb621af0b8cdc68fe
parent9c407347b496124849665aca6b76f48118891707
efi_loader: allow for removal of memory from the EFI map

With upcoming changes supporting pmem nodes, we need to remove the
pmem area from the EFI memory map. Rename efi_add_memory_map_pg() to
efi_update_memory_map(), and allow removing memory from the EFI memory
map.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_loader.h
lib/efi_loader/efi_memory.c