diff options
author | Fengquan Chen <fengquan.chen@mediatek.corp-partner.google.com> | 2021-08-25 20:01:33 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-08 08:25:19 +0000 |
commit | 62aa2bb784af331f5323ced9ebad6497ef3b8274 (patch) | |
tree | 0b931418a579f9abdf95e0a9258f38ce021476f0 /src/drivers/crb/tis.c | |
parent | 766e481adb2091e45a016159cc97d72898606036 (diff) |
soc/mediatek: preserve WDT reset reason for debugging
1. Disable external output reset signal in first WDT reset
to preserve WDT original reset reason for WDT issue in kernel stage.
2. After preserved WDT reset reason, do fully reset again by sending
external output reset signal.
BUG=b:194025005
TEST=boot to kernel ok and function test pass
Signed-off-by: Fengquan Chen <fengquan.chen@mediatek.corp-partner.google.com>
Change-Id: I5887a8312f4daab3cbd0a30fea0195670a932e52
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57270
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/drivers/crb/tis.c')
0 files changed, 0 insertions, 0 deletions