]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: mxs: rename function that sets AUTO_RESTART flag
authorHector Palacios <hector.palacios@digi.com>
Wed, 24 Jul 2013 14:01:39 +0000 (16:01 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 31 Aug 2013 15:50:38 +0000 (17:50 +0200)
commit6f6059e0f102809bcba1ea3b7d500c3e4f5f9581
treef63e2f2fda0b01066eb6398c34425b7c89085555
parent518501da4c9d05e6ac87908fbad79d8e10e4b0e4
ARM: mxs: rename function that sets AUTO_RESTART flag

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 <hector.palacios@digi.com>
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c