diff --git a/src/board/system76/common/main.c b/src/board/system76/common/main.c index 1787ddae..2594d923 100644 --- a/src/board/system76/common/main.c +++ b/src/board/system76/common/main.c @@ -106,7 +106,13 @@ void main(void) { gpio_debug(); #endif - wdt_init(); + // XXX: Currently, EC upgrade process will trigger a WDT reset after it + // finishes writing the flash. + if (ec_reset_source() == RESET_SOURCE_WDT) { + ERROR("\n<<< WDT reset occurred! >>>\n\n"); + } else { + wdt_init(); + } INFO("System76 EC board '%s', version '%s'\n", board(), version());