From 160cb331fca8d7a389b25bce30cb3e3cc3a7b4cc Mon Sep 17 00:00:00 2001 From: Morgan Jang Date: Tue, 27 Oct 2020 11:34:43 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46833 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/soc/intel/xeon_sp/cpx/soc_acpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/intel/xeon_sp/cpx/soc_acpi.c b/src/soc/intel/xeon_sp/cpx/soc_acpi.c index 88205173b6..d60684bccb 100644 --- a/src/soc/intel/xeon_sp/cpx/soc_acpi.c +++ b/src/soc/intel/xeon_sp/cpx/soc_acpi.c @@ -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) -- cgit v1.2.3