summaryrefslogtreecommitdiff
path: root/src/mainboard/prodrive/hermes
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-05-11 12:34:04 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-05-13 08:27:48 +0000
commit04ae6aa8addd95dfc13dd332791dda8d6e571909 (patch)
treebfa8c3f616e75cfd488b66d078a1eded60465455 /src/mainboard/prodrive/hermes
parenta1e7ab6f82786032fe7d02ec70abc65b5ca3a9ad (diff)
mb/prodrive/hermes: Disable ACPI S3 and S4 with SPS
Hermes can be used with either CSME or SPS firmware. However, the SPS (Server Platform Services) firmware does not support ACPI S3 and S4 sleep states, and coreboot should not report S3 and S4 as supported. Add a Kconfig option to be selected when building coreboot to use with SPS firmware, which allows disabling ACPI S3 and S4 sleep state support. Change-Id: I9d0fa8530e198e86415f92da6719d2fb0d2401ec Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54058 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/prodrive/hermes')
-rw-r--r--src/mainboard/prodrive/hermes/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/prodrive/hermes/Kconfig b/src/mainboard/prodrive/hermes/Kconfig
index 178accefa9..ac497e6791 100644
--- a/src/mainboard/prodrive/hermes/Kconfig
+++ b/src/mainboard/prodrive/hermes/Kconfig
@@ -14,10 +14,18 @@ config BOARD_PRODRIVE_HERMES_BASEBOARD
select INTEL_GMA_HAVE_VBT
select SOC_INTEL_COMMON_BLOCK_HDA_VERB
select ONBOARD_VGA_IS_PRIMARY
- select HAVE_ACPI_RESUME
+ select HAVE_ACPI_RESUME if !HERMES_USES_SPS_FIRMWARE
+ select DISABLE_ACPI_HIBERNATE if HERMES_USES_SPS_FIRMWARE
if BOARD_PRODRIVE_HERMES_BASEBOARD
+config HERMES_USES_SPS_FIRMWARE
+ bool "Build for use with SPS (Server Platform Services) firmware"
+ help
+ Depending on the intended use case, the Hermes mainboard can use either
+ CSME or SPS firmware SKUs. Choose this option if using SPS firmware, as
+ SPS doesn't support ACPI S3 and S4 sleep states.
+
config MAINBOARD_FAMILY
string
default "PRODRIVE_HERMES_SERIES"