diff options
author | Simon Glass <sjg@chromium.org> | 2025-03-15 14:26:01 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-03 11:43:22 -0600 |
commit | bac7ca510e26513a8b11d0690bb9f09ea5fbed8b (patch) | |
tree | 2895c03f70ca20b369e144b6484b315f7ead5ac6 /cmd/acpi.c | |
parent | 951d1faa54eea5978cd9bc6076f142a28da27f2e (diff) |
sandbox: acpi: Avoid a warning about FADT
Add a condition for sandbox, to match that of x86, to avoid the warning
"FADT not ACPI-hardware-reduced-compliant".
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/acpi.c')
-rw-r--r-- | cmd/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/acpi.c b/cmd/acpi.c index 094d9d4e858..2273176f106 100644 --- a/cmd/acpi.c +++ b/cmd/acpi.c @@ -58,7 +58,7 @@ static void list_fadt(struct acpi_fadt *fadt) dump_hdr(nomap_sysmem(fadt->x_dsdt, 0)); else if (fadt->dsdt) dump_hdr(nomap_sysmem(fadt->dsdt, 0)); - if (!IS_ENABLED(CONFIG_X86) && + if (!IS_ENABLED(CONFIG_X86) && !IS_ENABLED(CONFIG_SANDBOX) && !(fadt->flags & ACPI_FADT_HW_REDUCED_ACPI)) log_err("FADT not ACPI-hardware-reduced-compliant\n"); if (fadt->header.revision >= 3 && fadt->x_firmware_ctrl) |