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