summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorAnil Kumar <anil.kumar.k@intel.com>2024-01-19 15:08:47 -0800
committerSubrata Banik <subratabanik@google.com>2024-01-22 03:19:25 +0000
commitd7062425d35aa76e9921fcdb9d4bb874174a4509 (patch)
treef63e872c2b9b6a07c6dae3c56d29f682f538ee26 /src/cpu/amd
parentd06fa34103da31682a8ad3a431f52a9ae5619977 (diff)
soc/intel/cmn/block/pmc: Fix prev_sleep_state string name mapping
commit d078ef2152052b5ce8686249dcd05ebd50010889 ("soc/intel/cmn/block/pmc: Add previous sleep state strings in log") used SLP_TYP numbers to map ACPI sleep state value. This incorrectly printed wrong string for prev_sleep_state during S5. ex: after a cold reset the previous sleep state printed was [DEBUG] prev_sleep_state 5 (S3) This patch corrects this by using ACPI sleep state numbers for mapping the prev_sleep_state values. TEST=test the logs on google/rex board after cold reset [DEBUG] prev_sleep_state 5 (S5) Signed-off-by: Anil Kumar <anil.kumar.k@intel.com> Change-Id: I9bcdacc4d01a8d827a6abdf9af2b9e5d686ed847 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80144 Reviewed-by: Jamie Ryu <jamie.m.ryu@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/cpu/amd')
0 files changed, 0 insertions, 0 deletions