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>
This commit is contained in:
parent
9ec7227c9b
commit
e5592d3d99
|
@ -41,13 +41,15 @@ void fch_print_pmxc0_status(void)
|
||||||
[20] = "DoFullReset",
|
[20] = "DoFullReset",
|
||||||
[21] = "SleepReset",
|
[21] = "SleepReset",
|
||||||
[22] = "KbReset",
|
[22] = "KbReset",
|
||||||
[23] = "LtReset",
|
[23] = "LtReset/ShutdownMsg",
|
||||||
[24] = "FailBootRst",
|
[24] = "FailBootRst",
|
||||||
[25] = "WatchdogIssueReset",
|
[25] = "WatchdogIssueReset",
|
||||||
[26] = "RemoteResetFromASF",
|
[26] = "RemoteResetFromASF",
|
||||||
[27] = "SyncFlood",
|
[27] = "SyncFlood",
|
||||||
[28] = "HangReset",
|
[28] = "HangReset",
|
||||||
[29] = "EcWatchdogRst",
|
[29] = "EcWatchdogRst",
|
||||||
|
[30] = "SdpParityErr",
|
||||||
|
[31] = "SwSyncFloodFlag",
|
||||||
};
|
};
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "PMxC0 STATUS: 0x%x ", pmxc0_status);
|
printk(BIOS_DEBUG, "PMxC0 STATUS: 0x%x ", pmxc0_status);
|
||||||
|
|
Loading…
Reference in New Issue