soc/mediatek: log watchdog status
Reveal watchdog status value on bootblock stage. BUG=b:207646327 TEST=build pass Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I2c5ad222a41085616565dd5c10b0e967bb64ec63 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59641 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
parent
655fa5c39b
commit
d43d171f65
|
@ -16,6 +16,8 @@ int mtk_wdt_init(void)
|
|||
|
||||
mtk_wdt_clr_status(wdt_sta);
|
||||
|
||||
printk(BIOS_INFO, "WDT: Status = %#x\n", wdt_sta);
|
||||
|
||||
printk(BIOS_INFO, "WDT: Last reset was ");
|
||||
if (wdt_sta & MTK_WDT_STA_HW_RST) {
|
||||
printk(BIOS_INFO, "hardware watchdog\n");
|
||||
|
|
Loading…
Reference in New Issue