coreboot/src/soc/intel
Nico Huber ef19ce5346 soc/intel/common: Implement power-failure-state handling
This is a consolidation of the respective feature in `soc/intel/*lake/`,
including additional support for MAINBOARD_POWER_STATE_PREVIOUS.

For the latter, firmware has to keep track of the `previous` state. The
feature was already advertised in Kconfig long ago, but not implemented.

SoC code has to call pmc_set_power_failure_state() at least once during
boot and needs to implement pmc_soc_set_afterg3_en() for the actual
register write.

Change-Id: Ic6970a79d9b95373c2855f4c92232d2aa05963bb
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34724
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2019-08-09 09:32:28 +00:00
..
apollolake soc/intel/{APL, BSW, SKL}: Remove unused CPU_ADDR_BITS kconfig 2019-08-08 04:57:28 +00:00
baytrail intel/baytrail,broadwell: Move stage cache support function 2019-08-03 17:34:40 +00:00
braswell soc/intel/{APL, BSW, SKL}: Remove unused CPU_ADDR_BITS kconfig 2019-08-08 04:57:28 +00:00
broadwell lib/stage_cache: Refactor Kconfig options 2019-08-08 04:50:33 +00:00
cannonlake soc/intel: Fix SMRAM base MSR 2019-08-08 04:57:03 +00:00
common soc/intel/common: Implement power-failure-state handling 2019-08-09 09:32:28 +00:00
denverton_ns arch/x86: Handle smm_subregion() failure 2019-08-08 04:56:03 +00:00
fsp_baytrail fsp_baytrail/fsp_broadwell_de: Sort entries in Makefile.inc 2019-08-08 02:26:51 +00:00
fsp_broadwell_de fsp_baytrail/fsp_broadwell_de: Sort entries in Makefile.inc 2019-08-08 02:26:51 +00:00
icelake soc/intel: Fix SMRAM base MSR 2019-08-08 04:57:03 +00:00
quark soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
skylake soc/intel/{APL, BSW, SKL}: Remove unused CPU_ADDR_BITS kconfig 2019-08-08 04:57:28 +00:00
Kconfig cbfstool: Drop update-fit option 2019-06-24 09:45:00 +00:00