]> git.ipfire.org Git - thirdparty/u-boot.git/commit
efi: x86: Correct the condition for installing ACPI tables
authorSimon Glass <sjg@chromium.org>
Wed, 20 Sep 2023 03:00:12 +0000 (21:00 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 21 Sep 2023 22:05:40 +0000 (06:05 +0800)
commit53e8e6f98679a30eb338ca98ec173aa6ddd28d54
tree9fc2d3406b0e77e0ace7f1ed456e42774974eb88
parent3fef0def84e65d399658b1d028ad558329a0669a
efi: x86: Correct the condition for installing ACPI tables

It is not always the case that U-Boot builds the ACPI tables itself. For
example, when booting from coreboot, the ACPI tables are built by
coreboot.

Correct the Makefile condition so that U-Boot can pass on tables built
by a previous firmware stage.

Tidy up the installation-condition code while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/efi_loader/Makefile
lib/efi_loader/efi_setup.c