Re: [U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag

2013-08-31 Thread Stefano Babic
On 24/07/2013 16:01, Hector Palacios wrote: The AUTO_RESTART flag of HW_RTC_PERSISTENT0 register will power up the chip automatically 180ms after power down. This bit must be enabled by the boot loader to ensure the target can start upon hardware reset or watchdog reset even when powered from

Re: [U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag

2013-07-26 Thread Stefano Babic
Hi Hector, On 24/07/2013 18:08, Hector Palacios wrote: Why? The comment seems fully valid to me. The comment is confusing for a number of reasons: - It says for revision A of the EVK the flag must be enabled but the code is common for all platforms and there is no distinction about the

Re: [U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag

2013-07-26 Thread Marek Vasut
Dear Stefano Babic, Hi Hector, On 24/07/2013 18:08, Hector Palacios wrote: Why? The comment seems fully valid to me. The comment is confusing for a number of reasons: - It says for revision A of the EVK the flag must be enabled but the code is common for all platforms and there is

[U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag

2013-07-24 Thread Hector Palacios
The AUTO_RESTART flag of HW_RTC_PERSISTENT0 register will power up the chip automatically 180ms after power down. This bit must be enabled by the boot loader to ensure the target can start upon hardware reset or watchdog reset even when powered from a battery. Currently the function named

Re: [U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag

2013-07-24 Thread Marek Vasut
Dear Hector Palacios, The AUTO_RESTART flag of HW_RTC_PERSISTENT0 register will power up the chip automatically 180ms after power down. This bit must be enabled by the boot loader to ensure the target can start upon hardware reset or watchdog reset even when powered from a battery.

Re: [U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag

2013-07-24 Thread Hector Palacios
Dear Marek, On 07/24/2013 05:54 PM, Marek Vasut wrote: Dear Hector Palacios, The AUTO_RESTART flag of HW_RTC_PERSISTENT0 register will power up the chip automatically 180ms after power down. This bit must be enabled by the boot loader to ensure the target can start upon hardware reset or