summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-02-04 13:59:29 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-05 18:58:48 +0000
commite5592d3d99af72be58d8392d7957be8cd9632e7c (patch)
tree21a1be8320e4ca9b4c2f7eddac0953f288064672 /src/soc/amd/common
parent9ec7227c9b43df97e3422877b2539db21d47741b (diff)
downloadcoreboot-e5592d3d99af72be58d8392d7957be8cd9632e7c.tar.gz
coreboot-e5592d3d99af72be58d8392d7957be8cd9632e7c.tar.bz2
coreboot-e5592d3d99af72be58d8392d7957be8cd9632e7c.zip
soc/amd/common/block/acpimmio/print_reset_status: extend bit name table
Bit 23 in the PM_RST_STATUS register is called LtReset on Stoneyridge and ShutdownMsg on Picasso/Cezanne/Sabrina. Bit 30 is reserved on Stoneyridge and defined as SdpParityErr on the newer SoCs. Bit 31 is only defined for Sabrina. Since the default value of undefined bits is 0 it isn't a problem to have descriptions for reserved reset status bits on some SoCs. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I0782116d327fcad3817a10eb237ac6c8294846b3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61624 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/acpimmio/print_reset_status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/acpimmio/print_reset_status.c b/src/soc/amd/common/block/acpimmio/print_reset_status.c
index 309401e420e7..5ff04125e314 100644
--- a/src/soc/amd/common/block/acpimmio/print_reset_status.c
+++ b/src/soc/amd/common/block/acpimmio/print_reset_status.c
@@ -41,13 +41,15 @@ void fch_print_pmxc0_status(void)
[20] = "DoFullReset",
[21] = "SleepReset",
[22] = "KbReset",
- [23] = "LtReset",
+ [23] = "LtReset/ShutdownMsg",
[24] = "FailBootRst",
[25] = "WatchdogIssueReset",
[26] = "RemoteResetFromASF",
[27] = "SyncFlood",
[28] = "HangReset",
[29] = "EcWatchdogRst",
+ [30] = "SdpParityErr",
+ [31] = "SwSyncFloodFlag",
};
printk(BIOS_DEBUG, "PMxC0 STATUS: 0x%x ", pmxc0_status);