diff options
author | Marx Wang <marx.wang@intel.corp-partner.google.com> | 2023-11-10 17:09:16 +0800 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-12-22 12:29:59 +0000 |
commit | d078ef2152052b5ce8686249dcd05ebd50010889 (patch) | |
tree | 6facc67cd696ece9d7df3b6575ac2918714fbfa0 /src/console/init.c | |
parent | e41bf5f37388bc4cfa96eb84fff5a66766fbd14d (diff) |
soc/intel/cmn/block/pmc: Add previous sleep state strings in log
Previous sleep state showing in serial log is a magic number.
In order to let users understand its meanings directly, add
the strings to describe the modes.
TEST=build, boot the device and check the logs:
without this change, the log is like:
[DEBUG] prev_sleep_state 0
with this change:
[DEBUG] prev_sleep_state 0 (S0)
Change-Id: Iabe63610d3416b3b6e823746e3ccc5116fabb17d
Signed-off-by: Marx Wang <marx.wang@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78999
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/console/init.c')
0 files changed, 0 insertions, 0 deletions