commit | 742dd02ecf04062de53857c4336ccf6a03375af0 | [log] [tgz] |
---|---|---|
author | xf.li <xf.li@mobiletek.cn> | Thu Jun 08 01:43:32 2023 -0700 |
committer | xf.li <xf.li@mobiletek.cn> | Thu Jun 08 01:43:32 2023 -0700 |
tree | f710dc431d7cbac280cf98643b0dd6202f013686 | |
parent | d3b9e7d18fdab1c4275e621d79b105f441d15878 [diff] [blame] |
[Feature][ZXW-41] merged 0601 version Change-Id: I667af6bb09d65581d455b73f8984c160b2c67ad8
diff --git a/boot/common/src/uboot/drivers/wdt/wdt.c b/boot/common/src/uboot/drivers/wdt/wdt.c index 0621cb4..8a85cac 100644 --- a/boot/common/src/uboot/drivers/wdt/wdt.c +++ b/boot/common/src/uboot/drivers/wdt/wdt.c
@@ -104,8 +104,9 @@ } /*start wdt*/ - reg32(RM_WDT_START_REG) =0x12340001; - while(1); + do{ + reg32(RM_WDT_START_REG) =0x12340001; + }while(1); } int wdt_get_reboot_reason(void)