From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sat, 31 Aug 2013 17:51:30 +0200 Subject: [U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag In-Reply-To: <1374674499-22850-1-git-send-email-hector.palacios@digi.com> References: <1374674499-22850-1-git-send-email-hector.palacios@digi.com> Message-ID: <52221102.5020903@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 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 a battery. > > Currently the function named 'mxs_power_clear_auto_restart()' > is setting this flag although the 'clear' in its name suggest > the opposite. > > This patch renames the function to 'mxs_power_set_auto_restart()' > and removes the comment about EVK revision A which was confusing > because the function indeed was setting the flag. > > Signed-off-by: Hector Palacios > --- 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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================