soc/intel/xeon_sp/cpx: Set SLEEP_BUTTON flag in ACPI FADT

Keep SLEEP_BUTTON flag in ACPI FADT to indicate that no sleep button
is present on Cooperlake platform.

Change-Id: I2ce435a7bda780b2d2ed00be3f3a8a080c4434ab
Signed-off-by: Morgan Jang <Morgan_Jang@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46833
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Morgan Jang 2020-10-27 11:34:43 +08:00 committed by Angel Pons
parent 83a2a007c7
commit 160cb331fc
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,7 @@ uint32_t soc_read_sci_irq_select(void)
void soc_fill_fadt(acpi_fadt_t *fadt)
{
/* Clear flags set by common/block/acpi/acpi.c acpi_fill_fadt() */
fadt->flags &= ~(ACPI_FADT_SLEEP_BUTTON | ACPI_FADT_SEALED_CASE |
ACPI_FADT_S4_RTC_WAKE);
fadt->flags &= ~(ACPI_FADT_SEALED_CASE | ACPI_FADT_S4_RTC_WAKE);
}
void uncore_inject_dsdt(const struct device *device)