diff options
author | Ye.Li <B37916@freescale.com> | 2014-09-09 16:20:56 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-09-10 09:49:30 +0800 |
commit | e36a66415f63621417c7fa1c7865ef5b56dca547 (patch) | |
tree | 00a2eab2006c1ada9396aba5afaf93c9730d701f /board/freescale | |
parent | aa76a7e472e34bc59554f9932d611b1047d24590 (diff) | |
download | u-boot-imx-e36a66415f63621417c7fa1c7865ef5b56dca547.zip u-boot-imx-e36a66415f63621417c7fa1c7865ef5b56dca547.tar.gz u-boot-imx-e36a66415f63621417c7fa1c7865ef5b56dca547.tar.bz2 |
ENGR00330792 imx: mx6: Merge anatop registers to CCM structure
THe anatop registers structure is duplicated with CCM structure at
PLL fields.
Since we are suggested not to use the name "anatop" any longer, merge
the anatop registers to the CCM structure "mxc_ccm_reg" and use CCM
to replace anatop.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index c65b983..d24eea1 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -831,10 +831,10 @@ static void setup_epdc(void) writel(reg, &ccm_regs->cscdr2); /* PLL5 enable (defaults to 650) */ - reg = readl(ANATOP_BASE_ADDR + ANATOP_PLL_VIDEO); + reg = readl(&ccm_regs->analog_pll_video); reg &= ~((1 << 16) | (1 << 12)); reg |= (1 << 13); - writel(reg, ANATOP_BASE_ADDR + ANATOP_PLL_VIDEO); + writel(reg, &ccm_regs->analog_pll_video); /* EPDC PIX clk enable */ reg = readl(&ccm_regs->CCGR3); |