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:
@@ -58,7 +58,7 @@ static void list_fadt(struct acpi_fadt *fadt)
|
|||||||
dump_hdr(nomap_sysmem(fadt->x_dsdt, 0));
|
dump_hdr(nomap_sysmem(fadt->x_dsdt, 0));
|
||||||
else if (fadt->dsdt)
|
else if (fadt->dsdt)
|
||||||
dump_hdr(nomap_sysmem(fadt->dsdt, 0));
|
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))
|
!(fadt->flags & ACPI_FADT_HW_REDUCED_ACPI))
|
||||||
log_err("FADT not ACPI-hardware-reduced-compliant\n");
|
log_err("FADT not ACPI-hardware-reduced-compliant\n");
|
||||||
if (fadt->header.revision >= 3 && fadt->x_firmware_ctrl)
|
if (fadt->header.revision >= 3 && fadt->x_firmware_ctrl)
|
||||||
|
Reference in New Issue
Block a user