]> git.sur5r.net Git - u-boot/commit
MX31: Disable watchdog during low-power modes
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 21 Sep 2011 03:29:17 +0000 (03:29 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:01:00 +0000 (22:01 +0200)
commit610b53e29bf848b545dd9b0a79b692741ff93807
tree0dd362b6b809c569c7d558caa063117779f029b9
parent419adbfbcba2f818d84eec6ed3f70173a4d67efa
MX31: Disable watchdog during low-power modes

Turn on the watchdog WDZST bit so that watchdog timer does not count during low power modes.

Prior to applying this patch mx31pdk board got watchdog resets because when it booted in the Linux prompt
and there was no activity, the system entered into idle mode while watchdog timer was still active.

Fix this by disabling watchdog timer during idle mode.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm1136/mx31/timer.c
arch/arm/include/asm/arch-mx31/imx-regs.h