From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 20 Sep 2015 09:42:43 +0200 Subject: [U-Boot] [PATCH 2/3] imx: wdog: correct wcr register settings In-Reply-To: References: <1442208885-32387-1-git-send-email-Peng.Fan@freescale.com> <1442208885-32387-2-git-send-email-Peng.Fan@freescale.com> Message-ID: <55FE6373.9070906@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14/09/2015 14:11, Fabio Estevam wrote: > On Mon, Sep 14, 2015 at 2:34 AM, Peng Fan 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. > > There is a typo here: it should be clrsetbits_le16. > Corrected by applying, thanks to point it out. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================