summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/arm64-stub.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-09-15 23:20:06 +0200
committerArd Biesheuvel <ardb@kernel.org>2022-09-27 13:22:49 +0200
commit171539f5a90e3fdf7d17f5396fac79d7e44ad68e (patch)
tree388301a71f5475a8c2bc922aaeabf46280efbeb6 /drivers/firmware/efi/libstub/arm64-stub.c
parent4fc8e738ff3e6a208855bb69783280870c7cf251 (diff)
downloadlinux-stable-171539f5a90e3fdf7d17f5396fac79d7e44ad68e.tar.gz
linux-stable-171539f5a90e3fdf7d17f5396fac79d7e44ad68e.tar.bz2
linux-stable-171539f5a90e3fdf7d17f5396fac79d7e44ad68e.zip
efi: libstub: install boot-time memory map as config table
Expose the EFI boot time memory map to the kernel via a configuration table. This is arch agnostic and enables future changes that remove the dependency on DT on architectures that don't otherwise rely on it. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/arm64-stub.c')
-rw-r--r--drivers/firmware/efi/libstub/arm64-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/arm64-stub.c b/drivers/firmware/efi/libstub/arm64-stub.c
index 83b5ae3721ea..cd3bea25c762 100644
--- a/drivers/firmware/efi/libstub/arm64-stub.c
+++ b/drivers/firmware/efi/libstub/arm64-stub.c
@@ -47,7 +47,7 @@ static bool check_image_region(u64 base, u64 size)
bool ret = false;
int map_offset;
- status = efi_get_memory_map(&map);
+ status = efi_get_memory_map(&map, false);
if (status != EFI_SUCCESS)
return false;