Skip to content

Commit b7371ab

Browse files
committed
Iris: modify LFW WDT function
now the LFW will stop on unknown function for suggest WDT need keep until image jump. Signed-off-by: LeoCX_Tsai <LeoCX_Tsai@compal.com>
1 parent 2645851 commit b7371ab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

chip/mchp/lfw/ec_lfw.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ void lfw_main(void)
437437
timer_init();
438438
lfw_wdt();
439439
clock_init();
440-
lfw_wdt_stop();
441440
cpu_init();
442441
dma_init();
443442
uart_init();
@@ -524,7 +523,7 @@ void lfw_main(void)
524523

525524
init_addr = CONFIG_RO_MEM_OFF + CONFIG_PROGRAM_MEMORY_BASE;
526525
}
527-
526+
lfw_wdt_stop();
528527
trace11(0, LFW, 0, "Get EC reset handler from 0x%08x", (init_addr + 4));
529528
trace11(0, LFW, 0, "Jump to EC @ 0x%08x",
530529
*((uint32_t *)(init_addr + 4)));

0 commit comments

Comments
 (0)