]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: ACPI tables must be in EfiACPIReclaimMemory
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 21 Feb 2021 09:16:58 +0000 (10:16 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 26 Feb 2021 15:17:43 +0000 (16:17 +0100)
commit992b1731e6afc9ae4507e3ae22b6bcd1f2cb4ffc
treea6e1ae5e717a295b6f8f88b77d4881955a5cf635
parentc28d5d704d3347fcbe5e49ab561973c00bf9337f
efi_loader: ACPI tables must be in EfiACPIReclaimMemory

The UEFI spec does not allow ACPI tables to be in runtime services memory.
It recommends EfiACPIReclaimMemory.

Remove a superfluous check that the allocated pages are 16 byte aligned.
EFI pages are 4 KiB aligned.

Fixes: 86df34d42b05 ("efi_loader: Install ACPI configuration tables")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_acpi.c