
7 Jul
2008
7 Jul
'08
6:44 p.m.
On Tue, 2008-05-13 at 11:50 +0800, Jason Jin wrote:
The watchdog on 8610 board is enabled by setting sw[6] to on. Once enabled, the watchdog can not be disabled by software. So feed the dog in u-boot is necessary for normal operation.
Signed-off-by: Jason Jin Jason.jin@freescale.com
Applied to -mpc86xx repo with some white-space cleanup.
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c index bf4e651..6dd0655 100644 --- a/cpu/mpc86xx/cpu.c +++ b/cpu/mpc86xx/cpu.c @@ -213,6 +213,20 @@ get_tbclk(void) void watchdog_reset(void) {
- if(tmp & 0x4000) {
wdt->swsrr = 0x556c;
wdt->swsrr = 0xaa39;
Also, if we had a patch that documented those magic numbers, that would be good.
Thanks, jdl