coreboot/src/soc/intel
Subrata Banik 67524b57af soc/intel/icelake: Move power_state functions to pmutil.c
This patch ports CB:31787 and CB:31908 changes from CNL to ICL.

This change moves soc_fill_power_state and soc_prev_sleep_state to
pmutil.c. It allows the functions to be used across romstage and smm.

Also fix GEN_PMCON bit checks as below:
ICL PCH has PWR_FLR, SUS_PWR_FLR and HOST_RST_STS bits in GEN_PMCON_A
and so this change updates the check for these bits to use GEN_PMCON_A
instead of GEN_PMCON_B.

Change-Id: Ib7ab95b7bbcc97a076d27a11db2105f7b976b521
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32506
Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-05-02 06:03:06 +00:00
..
apollolake vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
baytrail vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
braswell vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
broadwell soc/intel/{broadwell, skylake}: Remove unused pch_log_state() declaration 2019-05-02 06:02:59 +00:00
cannonlake mb/google/sarien: Disable S5 wake on LAN by default 2019-05-01 20:07:48 +00:00
common soc/intel/common: Set RX_DISABLE for pads configured as NC 2019-05-01 02:18:31 +00:00
denverton_ns soc/intel: Add GPI interrupt config register offset info 2019-04-29 12:18:27 +00:00
fsp_baytrail src: Use include <console/console.h> when appropriate 2019-04-23 10:01:21 +00:00
fsp_broadwell_de soc/{amd,intel}/chip: Use local include for chip.h 2019-04-26 16:49:13 +00:00
icelake soc/intel/icelake: Move power_state functions to pmutil.c 2019-05-02 06:03:06 +00:00
quark soc/{amd,intel}/chip: Use local include for chip.h 2019-04-26 16:49:13 +00:00
skylake soc/intel/{broadwell, skylake}: Remove unused pch_log_state() declaration 2019-05-02 06:02:59 +00:00
Kconfig src/cpu: Remove dead sourced lines 2018-11-15 10:25:20 +00:00