commit | a23f7dc82d48d7fc8377765f6ede907daef4e63b | [log] [tgz] |
---|---|---|
author | David Griego <dgriego@mvista.com> | Mon Jun 01 11:41:54 2009 -0700 |
committer | Kevin Hilman <khilman@deeprootsystems.com> | Wed Aug 26 10:56:56 2009 +0300 |
tree | 2159e2885ae764e70f616faa945c24771c5e86c0 | |
parent | 75d0fa70e748629b786c25530f7c5ae76587da35 [diff] |
davinci: Fix watchdog reset code The davinci reset routine, davinci_watchdog_reset(), sets the TCR register instead of the TGCR register as it should to put the WDT into its "Initial State". It also writes the WDTCR register without the proper WDKEY which is pointless since the register will be write-protected. Signed-off-by: David Griego <dgriego@mvista.com> Signed-off-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>