summaryrefslogtreecommitdiff
path: root/src/soc/intel/tigerlake/pmutil.c
diff options
context:
space:
mode:
authorderek.huang <derek.huang@intel.corp-partner.google.com>2020-04-23 14:55:24 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-05-06 08:48:24 +0000
commite685107dd61461f91d3fdbf722cf378e121e2551 (patch)
tree6dca5dff27e49b7ef52f1b3f296610fbd13ad492 /src/soc/intel/tigerlake/pmutil.c
parent18e632f8b33b8c764db124e65b9ccab16044f108 (diff)
downloadcoreboot-e685107dd61461f91d3fdbf722cf378e121e2551.tar.xz
soc/intel/tigerlake: Print HPR_CAUSE0 register
In addition to GBLRST_CAUSE0 and GBLRST_CAUSE1, print the value of HPR_CAUSE0. Change-Id: Idc57c3cd6a8d156c5544640898e8e7147d34c535 Signed-off-by: derek.huang <derek.huang@intel.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40648 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/soc/intel/tigerlake/pmutil.c')
-rw-r--r--src/soc/intel/tigerlake/pmutil.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/pmutil.c b/src/soc/intel/tigerlake/pmutil.c
index 4482b1ec55..554932bd72 100644
--- a/src/soc/intel/tigerlake/pmutil.c
+++ b/src/soc/intel/tigerlake/pmutil.c
@@ -260,12 +260,15 @@ void soc_fill_power_state(struct chipset_power_state *ps)
ps->gen_pmcon_b = read32(pmc + GEN_PMCON_B);
ps->gblrst_cause[0] = read32(pmc + GBLRST_CAUSE0);
ps->gblrst_cause[1] = read32(pmc + GBLRST_CAUSE1);
+ ps->hpr_cause0 = read32(pmc + HPR_CAUSE0);
printk(BIOS_DEBUG, "GEN_PMCON: %08x %08x\n",
ps->gen_pmcon_a, ps->gen_pmcon_b);
printk(BIOS_DEBUG, "GBLRST_CAUSE: %08x %08x\n",
ps->gblrst_cause[0], ps->gblrst_cause[1]);
+
+ printk(BIOS_DEBUG, "HPR_CAUSE0: %08x\n", ps->hpr_cause0);
}
/* STM Support */