summaryrefslogtreecommitdiff
path: root/include/fsl_esdhc.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-09-13 13:31:42 +0800
committerTerry Lv <r65388@freescale.com>2011-09-13 13:31:42 +0800
commitecee97c3abeaf39c1d862c47cc6f0e9a55865ed0 (patch)
tree86883ac431e52e778968d5a3f05ed10352cd6ede /include/fsl_esdhc.h
parent9a8d22a4a4217d4ee5ca747885cbf9b36b379974 (diff)
downloadu-boot-imx-ecee97c3abeaf39c1d862c47cc6f0e9a55865ed0.zip
u-boot-imx-ecee97c3abeaf39c1d862c47cc6f0e9a55865ed0.tar.gz
u-boot-imx-ecee97c3abeaf39c1d862c47cc6f0e9a55865ed0.tar.bz2
ENGR00156389: turn off child clocks before reconfigure perclk_root
In addition to ensuring that PERCLK remains at least 2.5 times slower than the AHB clock, certain steps need to be followed to ensure robust operation of PERCLK when reconfiguring the PERCLK clock source. To properly configure the PERCLK clock source, the following steps are required: 1.In the CCGR registers, gate the clocks to all PERCLK-dependent modules. 2.Select the desired input clock for the PERCLK root clock (to be either source from the peripherals main source clock or the lp_apm clock source). Refer to the CMCBR register, perclk_lp_apm_sel bit. 3.Configure the perclk_pred1, perclk_pred2, and perclk_podf dividers to the desired setting. Refer to the CBCDR register for details. 4.In the CCGR registers, enable the desired clocks for the PERCLK-dependent module clocks. Certain steps are required to reconfigure perclk_root. If don't follow these steps, GPT timer may stop and the kernel stops at " "Calibrating delay loop". Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/fsl_esdhc.h')
0 files changed, 0 insertions, 0 deletions