summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
authorHector Palacios <hector.palacios@digi.com>2013-07-24 16:01:39 +0200
committerStefano Babic <sbabic@denx.de>2013-08-31 17:50:38 +0200
commit6f6059e0f102809bcba1ea3b7d500c3e4f5f9581 (patch)
treef63e2f2fda0b01066eb6398c34425b7c89085555 /common/flash.c
parent518501da4c9d05e6ac87908fbad79d8e10e4b0e4 (diff)
downloadu-boot-imx-6f6059e0f102809bcba1ea3b7d500c3e4f5f9581.zip
u-boot-imx-6f6059e0f102809bcba1ea3b7d500c3e4f5f9581.tar.gz
u-boot-imx-6f6059e0f102809bcba1ea3b7d500c3e4f5f9581.tar.bz2
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>
Diffstat (limited to 'common/flash.c')
0 files changed, 0 insertions, 0 deletions