summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-04-13 19:43:02 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-04-14 18:44:50 +0000
commit7cc502b07a97c613be67daab7e8ab1ecfd70d544 (patch)
tree14c313c80b8874a686fe3a5705b2fde908690a9c /src/soc
parent5641590957d3a34aed616c316bab4bfe0722ca9a (diff)
soc/amd/common/block/pm: select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
Without this being selected, mainboards can't select MAINBOARD_POWER_STATE_PREVIOUS to use the power state restoration code path in pmlib.c Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I753659fa753e03a66b6c6b2eb97e7ef20c71ca57 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52299 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/pm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/pm/Kconfig b/src/soc/amd/common/block/pm/Kconfig
index e250bf0a2b..ebd1679ce6 100644
--- a/src/soc/amd/common/block/pm/Kconfig
+++ b/src/soc/amd/common/block/pm/Kconfig
@@ -2,6 +2,7 @@ config SOC_AMD_COMMON_BLOCK_PM
bool
depends on SOC_AMD_COMMON_BLOCK_ACPIMMIO
select HAVE_POWER_STATE_AFTER_FAILURE
+ select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
help
AMD Processor common code for Power Management (PM) subsystem.