summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorMorgan Jang <Morgan_Jang@wiwynn.com>2020-10-27 11:34:43 +0800
committerAngel Pons <th3fanbus@gmail.com>2020-10-28 10:09:14 +0000
commit160cb331fca8d7a389b25bce30cb3e3cc3a7b4cc (patch)
treefb48fd1cd60148f7b907f71bf15847975aa38361 /src/soc
parent83a2a007c783bf4fc37d29bdaae3a7b8a208b88e (diff)
downloadcoreboot-160cb331fca8d7a389b25bce30cb3e3cc3a7b4cc.tar.xz
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>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/xeon_sp/cpx/soc_acpi.c3
1 files changed, 1 insertions, 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)