Files
u-boot/drivers
Stefan Roese 6c04bd3857 watchdog: at91sam9_wdt: Fix WDT setup in at91_wdt_start()
This patch fixes the timer register setup in at91_wdt_start() to
correctly configure the register again. The input timeout value is
now in milli-seconds instead of seconds with the new watchdog API.
Make sure to take this into account and only use a max timeout
value of 16 seconds as appropriate for this SoC.

Also the check against a lower timeout value than 0 is removed. This
check makes no sense, as the timeout value is unsigned.

Signed-off-by: Stefan Roese <sr@denx.de>
Reported-by: Heiko Schocher <hs@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Andreas Bießmann <andreas@biessmann.org>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested on the taurus board:
Tested-by: Heiko Schocher <hs@denx.de>
2019-04-09 09:28:50 +03:00
..
2018-12-06 14:38:03 -08:00
2019-01-15 15:28:53 -05:00
2019-04-01 21:45:15 +05:30
2019-02-27 09:12:33 +08:00
2018-12-19 15:23:00 +01:00
2019-02-25 16:07:36 +01:00
2019-02-20 15:27:08 +08:00
2018-12-06 14:37:51 -08:00
2019-01-18 22:19:08 +05:30
2018-07-19 16:31:38 -04:00
2019-02-20 15:27:11 +08:00
2019-03-11 00:44:42 +01:00
2018-11-29 09:30:06 -07:00
2019-03-28 23:45:41 +01:00