Anil Kumar K uploaded patch set #2 to this change.

View Change

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
---
M src/soc/intel/common/block/pmc/pmclib.c
1 file changed, 5 insertions(+), 5 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/80144/2

To view, visit change 80144. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I9bcdacc4d01a8d827a6abdf9af2b9e5d686ed847
Gerrit-Change-Number: 80144
Gerrit-PatchSet: 2
Gerrit-Owner: Anil Kumar K <anil.kumar.k@intel.com>
Gerrit-MessageType: newpatchset