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>
This commit is contained in:
Felix Held 2021-04-13 19:43:02 +02:00
parent 5641590957
commit 7cc502b07a
1 changed files with 1 additions and 0 deletions

View File

@ -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.