summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-11-16 10:29:28 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-12-05 01:38:56 +0100
commit1be415b21b2da2f7979bdbccf7cf01103883b5de (patch)
tree5360500504d86be3e402cb905357d91f233aebb7 /lib
parent8c06b27eec8c3e5c7316a0525b596f26e001b0f3 (diff)
downloadu-boot-1be415b21b2da2f7979bdbccf7cf01103883b5de.tar.gz
u-boot-1be415b21b2da2f7979bdbccf7cf01103883b5de.tar.bz2
u-boot-1be415b21b2da2f7979bdbccf7cf01103883b5de.zip
efi_loader: create memory reservations in ACPI case
ACPI tables cannot convey memory reservations for ARM and RISC-V. x86 uses the BIOS E820 table for this purpose. We cannot simply ignore the device-tree when booting via ACPI. We have to assign EfiReservedMemory according to the prior stage device-tree ($fdtaddr) or as fallback the control device-tree ($fdtcontroladdr). Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile
index 8d31fc61c6..d476df112b 100644
--- a/lib/efi_loader/Makefile
+++ b/lib/efi_loader/Makefile
@@ -51,9 +51,7 @@ obj-y += efi_console.o
obj-y += efi_device_path.o
obj-$(CONFIG_EFI_DEVICE_PATH_TO_TEXT) += efi_device_path_to_text.o
obj-$(CONFIG_EFI_DEVICE_PATH_UTIL) += efi_device_path_utilities.o
-ifeq ($(CONFIG_GENERATE_ACPI_TABLE),)
obj-y += efi_dt_fixup.o
-endif
obj-y += efi_file.o
obj-$(CONFIG_EFI_LOADER_HII) += efi_hii.o
obj-y += efi_image_loader.o