summaryrefslogtreecommitdiff
path: root/src/lib/cbmem_common.c
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2017-10-02 15:01:33 -0700
committerAaron Durbin <adurbin@chromium.org>2017-10-05 21:11:27 +0000
commitf073872e22728fe8ade85022740af95cc129e9a5 (patch)
treeb68b949530a8853ff4db7fb991f0e6f31507d520 /src/lib/cbmem_common.c
parenta75d6808ca03b681c007e8ff040ace438e346131 (diff)
soc/intel/common/block: Manage power state variable from common PMC block
This patch helps managing power state variables from within the library. Adds migrate_power_state which migrates the chipset power state variable, reads global power variable and adds it in cbmem for future use. This also adds get_soc_power_state_values function which returns the power state variable from cbmem or global power state variable if cbmem is not populated yet. Change-Id: If65341c1492e3a35a1a927100e0d893f923b9e68 Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/21851 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib/cbmem_common.c')
0 files changed, 0 insertions, 0 deletions