aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2021-10-10 16:56:31 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-10-17 12:59:43 +0000
commitf855b8bfee8e365987043d904277514f69493cb0 (patch)
tree01e936b6153ae15ca9f471fab968e329f2f26a60
parent9034689ee7b8e73cb524006de9538e7daf077c49 (diff)
soc/intel/common/acpi: drop `RTC_EN` from static wake bits mask
`RTC_EN` is in the RTC well* so we can rely on the actual register content instead of statically overriding it. Drop it from the static wake bits mask. * Tested on clevo/l140cu Change-Id: Ia0ae71f0a472513233bc0fd5625faf15bf86beaf Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58211 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
-rw-r--r--src/soc/intel/common/block/acpi/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi.c b/src/soc/intel/common/block/acpi/acpi.c
index 9bfb91ad3f..4d3cb739b3 100644
--- a/src/soc/intel/common/block/acpi/acpi.c
+++ b/src/soc/intel/common/block/acpi/acpi.c
@@ -218,7 +218,7 @@ int soc_fill_acpi_wake(const struct chipset_power_state *ps, uint32_t *pm1, uint
* powerbtn or any other wake source like lidopen, key board press etc.
*/
pm1_en = ps->pm1_en;
- pm1_en |= WAK_STS | RTC_EN | PWRBTN_EN;
+ pm1_en |= WAK_STS | PWRBTN_EN;
pm1_en = acpi_fill_soc_wake(pm1_en, ps);