commit | 838cf7b1d4d89d09a9512cba7fb55ee29e5945b6 | [log] [tgz] |
---|---|---|
author | Peng Fan <Peng.Fan@freescale.com> | Mon Sep 14 13:34:44 2015 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Sun Sep 20 09:39:35 2015 +0200 |
tree | 2e5b5b45143720e6352ebe854580eb7f956bc1f6 | |
parent | 0d9f330537b51627f40230466f5af7c8fddf280e [diff] |
imx: wdog: correct wcr register settings We should not simple use "writew(WCR_WDE, &wdog->wcr)" to set wcr, since this will override bits set before reset_cpu. Use clrsetbits_le16 instead of writew to fix this issue. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Sebastian Siewior <bigeasy@linutronix.de> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>