xref: /OK3568_Linux_fs/u-boot/doc/README.watchdog (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWatchdog driver general info
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunCONFIG_HW_WATCHDOG
4*4882a593Smuzhiyun	This enables hw_watchdog_reset to be called during various loops,
5*4882a593Smuzhiyun	including waiting for a character on a serial port. But it
6*4882a593Smuzhiyun	does not also call hw_watchdog_init. Boards which want this
7*4882a593Smuzhiyun	enabled must call this function in their board file. This split
8*4882a593Smuzhiyun	is useful because some rom's enable the watchdog when downloading
9*4882a593Smuzhiyun	new code, so it must be serviced, but the board would rather it
10*4882a593Smuzhiyun	was off. And, it cannot always be turned off once on.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunCONFIG_WATCHDOG_TIMEOUT_MSECS
13*4882a593Smuzhiyun	Can be used to change the timeout for i.mx31/35/5x/6x.
14*4882a593Smuzhiyun	If not given, will default to maximum timeout. This would
15*4882a593Smuzhiyun	be 128000 msec for i.mx31/35/5x/6x.
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunCONFIG_AT91SAM9_WATCHDOG
18*4882a593Smuzhiyun	Available for AT91SAM9 to service the watchdog.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunCONFIG_FTWDT010_WATCHDOG
21*4882a593Smuzhiyun	Available for FTWDT010 to service the watchdog.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunCONFIG_FTWDT010_HW_TIMEOUT
24*4882a593Smuzhiyun	Can be used to change the timeout for FTWDT010.
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunCONFIG_IMX_WATCHDOG
27*4882a593Smuzhiyun	Available for i.mx31/35/5x/6x to service the watchdog. This is not
28*4882a593Smuzhiyun	automatically set because some boards (vision2) still need to define
29*4882a593Smuzhiyun	their own hw_watchdog_reset routine.
30*4882a593Smuzhiyun	TODO: vision2 is removed now, so perhaps this can be changed.
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunCONFIG_XILINX_TB_WATCHDOG
33*4882a593Smuzhiyun	Available for Xilinx Axi platforms to service timebase watchdog timer.
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunCONFIG_BFIN_WATCHDOG
36*4882a593Smuzhiyun	Available for bf5xx and bf6xx to service the watchdog.
37