summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Kconfig6
-rw-r--r--src/soc/intel/common/block/pmc/Kconfig1
-rw-r--r--src/southbridge/intel/common/acpi/sleepstates.asl2
3 files changed, 9 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index e35df43c9e..9042719abf 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
diff --git a/src/soc/intel/common/block/pmc/Kconfig b/src/soc/intel/common/block/pmc/Kconfig
index effdc12585..181ad81262 100644
--- a/src/soc/intel/common/block/pmc/Kconfig
+++ b/src/soc/intel/common/block/pmc/Kconfig
@@ -4,6 +4,7 @@ config SOC_INTEL_COMMON_BLOCK_PMC
bool
select HAVE_POWER_STATE_AFTER_FAILURE
select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
+ select ACPI_S1_NOT_SUPPORTED
help
Intel Processor common code for Power Management controller(PMC)
subsystem
diff --git a/src/southbridge/intel/common/acpi/sleepstates.asl b/src/southbridge/intel/common/acpi/sleepstates.asl
index eae7642d2b..30e12a03ed 100644
--- a/src/southbridge/intel/common/acpi/sleepstates.asl
+++ b/src/southbridge/intel/common/acpi/sleepstates.asl
@@ -2,7 +2,9 @@
Name(\_S0, Package(){0x0,0x0,0x0,0x0})
#if !CONFIG(HAVE_ACPI_RESUME)
+#if !CONFIG(ACPI_S1_NOT_SUPPORTED)
Name(\_S1, Package(){0x1,0x0,0x0,0x0})
+#endif
#else
Name(\_S3, Package(){0x5,0x0,0x0,0x0})
#endif