diff mbox

[U-Boot] bcm2835: wdt: support for the bcm2835/2836 wdt

Message ID 1485511145-31425-1-git-send-email-p.pisati@gmail.com
State Deferred
Delegated to: Tom Rini
Headers show

Commit Message

Paolo Pisati Jan. 27, 2017, 9:59 a.m. UTC
The following patch add support for the watchdog built into the
bcm2835/2836 chips, using the max timeout (~15s).

By default the watchdog is compiled in, but disabled.
To enable it, apply the following patch:
diff mbox

Patch

--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -109,6 +109,7 @@ 
 
 /* Watchdog support */
 #define CONFIG_BCM2835_WDT
+#define CONFIG_HW_WATCHDOG
 
 /* Console configuration */
 #define CONFIG_SYS_CBSIZE              1024