diff options
author | Bin Meng | 2018-06-27 20:38:03 -0700 |
---|---|---|
committer | Bin Meng | 2018-07-02 09:23:28 +0800 |
commit | 86df34d42b05f574854f19c96142d8e5d30f5d8d (patch) | |
tree | c9245fe389fcda494740a2222a87b6dfdc212329 /cmd | |
parent | bb68c7fba07621ae4dfe3ea10737fa18049d3e51 (diff) |
efi_loader: Install ACPI configuration tables
ACPI tables can be passed via EFI configuration table to an EFI
application. This is only supported on x86 so far.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bootefi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index f55a40dc84c..cd755b6bf44 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -61,6 +61,11 @@ efi_status_t efi_init_obj_list(void) if (ret != EFI_SUCCESS) goto out; #endif +#ifdef CONFIG_GENERATE_ACPI_TABLE + ret = efi_acpi_register(); + if (ret != EFI_SUCCESS) + goto out; +#endif #ifdef CONFIG_GENERATE_SMBIOS_TABLE ret = efi_smbios_register(); if (ret != EFI_SUCCESS) |