Re: [U-Boot] [PATCH 1/2] mx6: Fix reset cause for Power On Reset case

2012-03-19 Thread Stefano Babic
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. > >

[U-Boot] [PATCH 1/2] mx6: Fix reset cause for Power On Reset case

2012-03-13 Thread Fabio Estevam
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. Sign