1
0
Fork 0

zero-sugar: enable watchdog support

It enables watchdog support, so that when U-Boot hangs for whatever
reason more than 60 seconds, it gets reset by watchdog timeout.  The
timeout period can be adjusted by CONFIG_WATCHDOG_TIMEOUT_MSECS.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
zero-sugar
Shawn Guo 2019-11-28 10:58:32 +08:00 committed by Lars Ivar Miljeteig
parent c5022b5d92
commit a78cf97a13
1 changed files with 5 additions and 0 deletions

View File

@ -222,4 +222,9 @@
#define CONFIG_USBD_HS
/* Watchdog */
#define CONFIG_HW_WATCHDOG
#define CONFIG_IMX_WATCHDOG
#define CONFIG_WATCHDOG_TIMEOUT_MSECS 60000 /* 60s */
#endif /* __ZERO_SUGAR_H */