diff options
Diffstat (limited to 'chip/npcx/spiflashfw/npcx_monitor.c')
-rw-r--r-- | chip/npcx/spiflashfw/npcx_monitor.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chip/npcx/spiflashfw/npcx_monitor.c b/chip/npcx/spiflashfw/npcx_monitor.c index a0b011476d..cc327e3440 100644 --- a/chip/npcx/spiflashfw/npcx_monitor.c +++ b/chip/npcx/spiflashfw/npcx_monitor.c @@ -287,9 +287,7 @@ sspi_flash_upload(int spi_offset, int spi_size) } /* Unlock & stop watchdog */ - NPCX_WDSDM = 0x87; - NPCX_WDSDM = 0x61; - NPCX_WDSDM = 0x63; + watchdog_stop_and_unlock(); /* UMA Unlock */ CLEAR_BIT(NPCX_UMA_ECTS, NPCX_UMA_ECTS_UMA_LOCK); |