summaryrefslogtreecommitdiff
path: root/lib/efi_selftest/efi_selftest_memory.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-08 14:56:23 -0400
committerTom Rini <trini@konsulko.com>2020-05-08 14:56:23 -0400
commita5e609b982a004e009e8ee0aa6066785db425ac2 (patch)
tree3e687989c84d8a2f4bb9b4f06bb4b4bfe558d98a /lib/efi_selftest/efi_selftest_memory.c
parentea02cfb6495eb5f54bf239405316746a19d303b2 (diff)
parentd7ca3ce3d3b990503cb6e0bafad91aa2a7c96b9d (diff)
Merge tag 'efi-2020-07-rc2-3' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2020-07-rc2-3 This series contains bug fixes and code simplifications. Following clarification in the discussion of the EBBR specification device trees will be passed as EfiACPIReclaimMemory to UEFI applications.
Diffstat (limited to 'lib/efi_selftest/efi_selftest_memory.c')
-rw-r--r--lib/efi_selftest/efi_selftest_memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/efi_selftest/efi_selftest_memory.c b/lib/efi_selftest/efi_selftest_memory.c
index e71732dc6d..4d32a28006 100644
--- a/lib/efi_selftest/efi_selftest_memory.c
+++ b/lib/efi_selftest/efi_selftest_memory.c
@@ -176,9 +176,9 @@ static int execute(void)
/* Check memory reservation for the device tree */
if (fdt_addr &&
find_in_memory_map(map_size, memory_map, desc_size, fdt_addr,
- EFI_BOOT_SERVICES_DATA) != EFI_ST_SUCCESS) {
+ EFI_ACPI_RECLAIM_MEMORY) != EFI_ST_SUCCESS) {
efi_st_error
- ("Device tree not marked as boot services data\n");
+ ("Device tree not marked as ACPI reclaim memory\n");
return EFI_ST_FAILURE;
}
return EFI_ST_SUCCESS;