soc/mediatek/mt8189: Enable MEDIATEK_WDT_RESET_BY_SW

For MT8189, watchdog external reset is enabled by kernel configuration,
and EC ignores the reset signal AP_PMIC_WDTRST_L. Therefore, enable
MEDIATEK_WDT_RESET_BY_SW to allow triggering the secondary watchdog
reset via software instead of watchdog hardware.

BUG=b:433636690
TEST=emerge-skywalker coreboot
TEST=watchdog event added to eventlog on WDT timeout
TEST=cbmem logs preserved on WDT timeout
BRANCH=skywalker

Change-Id: I5ab73a06dd1bd7848e2e166d4717a970043ea20a
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90173
Reviewed-by: Chen-Tsung Hsieh <chentsung@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Yu-Ping Wu 2025-10-31 15:41:14 +08:00 committed by Matt DeVillier
commit e4b0410946

View file

@ -17,6 +17,7 @@ config SOC_MEDIATEK_MT8189
select FLASH_DUAL_IO_READ
select ARM64_USE_ARCH_TIMER
select MEDIATEK_DSI_CPHY
select MEDIATEK_WDT_RESET_BY_SW
if SOC_MEDIATEK_MT8189