mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 04:44:46 +00:00
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>
This commit is contained in:
parent
951d1faa54
commit
bac7ca510e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue