summaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-04-25 15:48:46 +0200
committerLean Sheng Tan <sheng.tan@9elements.com>2023-04-26 15:41:03 +0000
commitcbc5d3f34b87db779829eabc90c32780a3865a56 (patch)
treec91d7e0d243d3989cbc13825bc833fee6a3b4905 /src/Kconfig
parent1dc55aa35ecd814a0080653d3fc3199584724057 (diff)
downloadcoreboot-cbc5d3f34b87db779829eabc90c32780a3865a56.tar.gz
coreboot-cbc5d3f34b87db779829eabc90c32780a3865a56.tar.bz2
coreboot-cbc5d3f34b87db779829eabc90c32780a3865a56.zip
soc/intel: Don't report _S1 state when unsupported
Since skylake Intel hardware does not support this sleep state. Trying to enter S1 by having the OS enter sleep results in a system hang on at least Alder lake (prodrive/atlas). CONFIG_SOC_INTEL_COMMON_BLOCK_PMC is a good proxy whether devices support 'skylake style' PMC PCI device for ACPI registers. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Ic9e19410696240755e8714db53a0525284f3a2da Reviewed-on: https://review.coreboot.org/c/coreboot/+/74760 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index e35df43c9e33..9042719abfca 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -711,6 +711,12 @@ config MAX_CPUS
source "src/console/Kconfig"
+config ACPI_S1_NOT_SUPPORTED
+ bool
+ default n
+ help
+ Set this to 'y' on platforms that do not support ACPI S1 state.
+
config HAVE_ACPI_RESUME
bool
default n