diff --git a/core/drivers/imx_wdog.c b/core/drivers/imx_wdog.c index 14a45768561..e188d3e873f 100644 --- a/core/drivers/imx_wdog.c +++ b/core/drivers/imx_wdog.c @@ -60,9 +60,9 @@ void imx_wdog_restart(void) write16(val, wdog_base + WCR_OFF); dsb(); - if (read32(wdog_base + WDT_WCR) & WDT_WCR_WDE) { - write32(WDT_SEQ1, wdog_base + WDT_WSR); - write32(WDT_SEQ2, wdog_base + WDT_WSR); + if (read16(wdog_base + WDT_WCR) & WDT_WCR_WDE) { + write16(WDT_SEQ1, wdog_base + WDT_WSR); + write16(WDT_SEQ2, wdog_base + WDT_WSR); } write16(val, wdog_base + WCR_OFF);