summaryrefslogtreecommitdiff
path: root/board/amcc/canyonlands
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-03-30 16:03:13 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:08:08 +0800
commit620cf5f3d4cf37b065b5857a8ea91d61bf6c471d (patch)
treea899c503d619f403c4e42c44ecf93ffb19b9498c /board/amcc/canyonlands
parent30bd4f80cee58b5f17d9a6454f79b9a90f78a47b (diff)
downloadu-boot-imx-620cf5f3d4cf37b065b5857a8ea91d61bf6c471d.zip
u-boot-imx-620cf5f3d4cf37b065b5857a8ea91d61bf6c471d.tar.gz
u-boot-imx-620cf5f3d4cf37b065b5857a8ea91d61bf6c471d.tar.bz2
MLK-10504 imx: mx6dqarm2: Fix CCM setting for lpddr2 400Mhz support
Current uboot supports for running LPDDR2 at 400MHz on MX6Q ARM2 board, but there is a problem in switching pre_periph_clk_sel to pll2_pfd2. We cannot directly change the parent of pre_periph_clk_sel as this mux is not a glitchless mux. We need to follow the correct procedure and wait for the busy bits to clear before switching. Change to follow the procedure: 1. Set periph_clk2 to OSC. 2. Switch the periph_clk to periph_clk2, checking the CCM_CDHIPR for periph_clk , ahb_podf and axi_podf busy bits. 3. Setting the pre_periph_clk to PLL2 PFD 396M. 4. Switch the periph_clk back to pre_periph_clk and checking CCM_CDHIPR busy bits. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 7490062ff86e1132b95bf153091f28f7940c0cf9)
Diffstat (limited to 'board/amcc/canyonlands')
0 files changed, 0 insertions, 0 deletions