[U-Boot] [PATCH 2/3] imx: wdog: correct wcr register settings

Fabio Estevam festevam at gmail.com
Mon Sep 14 14:09:22 CEST 2015


On Mon, Sep 14, 2015 at 2:34 AM, Peng Fan <Peng.Fan at freescale.com> wrote:
> We should not simple use "writew(WCR_WDE, &wdog->wcr)" to set
> wcr, since this will override bits set before reset_cpu.
>
> Use clrsetbits_le32 instead of writew to fix this issue.
>
> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Sebastian Siewior <bigeasy at linutronix.de>

Tested-by: Fabio Estevam <fabio.estevam at freescale.com>


More information about the U-Boot mailing list