From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 19 Mar 2012 15:43:18 +0100 Subject: [U-Boot] [PATCH 1/2] mx6: Fix reset cause for Power On Reset case In-Reply-To: <1331659609-21572-1-git-send-email-fabio.estevam@freescale.com> References: <1331659609-21572-1-git-send-email-fabio.estevam@freescale.com> Message-ID: <4F674606.8050501@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 13/03/2012 18:26, Fabio Estevam wrote: > After booting mx6qsabrelite from POR the following is reported: > > CPU: Freescale i.MX61 family rev1.0 at 792 MHz > Reset cause: unknown reset > > This is because both the POR and WDOG bits are set after reset. > > Fix this by also checking both bits in the POR case. > > Signed-off-by: Fabio Estevam Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================