summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/pmutil.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-14 12:23:04 +0300
committerAngel Pons <th3fanbus@gmail.com>2020-06-16 10:19:35 +0000
commit7e75f33de5a80d7a30d341149cd2ca13f2fe5423 (patch)
tree9fa354d136baf1a36c92217524b2c1dec100f5ce /src/southbridge/intel/common/pmutil.c
parentf71f3ae9c2ad6ea96be10764db001ebb5fc9ed0a (diff)
downloadcoreboot-7e75f33de5a80d7a30d341149cd2ca13f2fe5423.tar.xz
sb/intel/common/pmutil: Add dump_all_status()
Change-Id: I10582941afd68425603f6c4cadd228797cd098e9 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42360 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/southbridge/intel/common/pmutil.c')
-rw-r--r--src/southbridge/intel/common/pmutil.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/southbridge/intel/common/pmutil.c b/src/southbridge/intel/common/pmutil.c
index d0eeb04c7c..d8196f8c72 100644
--- a/src/southbridge/intel/common/pmutil.c
+++ b/src/southbridge/intel/common/pmutil.c
@@ -215,3 +215,12 @@ u16 reset_alt_gp_smi_status(void)
return reg16;
}
+
+void dump_all_status(void)
+{
+ dump_smi_status(reset_smi_status());
+ dump_pm1_status(reset_pm1_status());
+ dump_gpe0_status(reset_gpe0_status());
+ dump_alt_gp_smi_status(reset_alt_gp_smi_status());
+ dump_tco_status(reset_tco_status());
+}