diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2021-03-25 18:07:12 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-04-10 20:22:40 +0000 |
commit | 24295573503e5617fa18dcec24ae3f3402e452de (patch) | |
tree | 3f18102cd8b2be2da925c4d1c6e353207ac445a4 /src/soc/amd/common/block/pm/Kconfig | |
parent | 65b0afe9a687aebeed70eccd78e1ad99b96bc8bc (diff) | |
download | coreboot-24295573503e5617fa18dcec24ae3f3402e452de.tar.gz coreboot-24295573503e5617fa18dcec24ae3f3402e452de.tar.bz2 coreboot-24295573503e5617fa18dcec24ae3f3402e452de.zip |
soc/amd/common: Handle power resume after power failure
Introduce a power management library to handle the power resume after
power failure. Enable HAVE_POWER_STATE_AFTER_FAILURE config when this
library is enabled.
BUG=b:183739671
TEST=Build Guybrush and Majolica mainboard.
Change-Id: Iea4ea57d747425fe6714d40ba6e60f2447febf28
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51924
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/common/block/pm/Kconfig')
-rw-r--r-- | src/soc/amd/common/block/pm/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/pm/Kconfig b/src/soc/amd/common/block/pm/Kconfig new file mode 100644 index 000000000000..c976d017ec8c --- /dev/null +++ b/src/soc/amd/common/block/pm/Kconfig @@ -0,0 +1,13 @@ +config SOC_AMD_COMMON_BLOCK_PM + bool + depends on SOC_AMD_COMMON_BLOCK_ACPIMMIO + select HAVE_POWER_STATE_AFTER_FAILURE + help + AMD Processor common code for Power Management (PM) subsystem. + +if SOC_AMD_COMMON_BLOCK_PM + +config POWER_STATE_DEFAULT_ON_AFTER_FAILURE + default y + +endif # SOC_AMD_COMMON_BLOCK_PM |