Skip to content
Snippets Groups Projects
Commit 12307437 authored by Liu Ying's avatar Liu Ying Committed by Stefano Babic
Browse files

MX6 SabreSD: Use readl() to read the CCM_CCGR3 register


Align with the context to use readl() to read the CCM_CCGR3
register with memory barrier instead of __raw_readl().

Signed-off-by: default avatarLiu Ying <Ying.Liu@freescale.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent 02824dc7
No related branches found
No related tags found
No related merge requests found
...@@ -390,7 +390,7 @@ static void setup_display(void) ...@@ -390,7 +390,7 @@ static void setup_display(void)
imx_setup_hdmi(); imx_setup_hdmi();
/* Turn on LDB0, LDB1, IPU,IPU DI0 clocks */ /* Turn on LDB0, LDB1, IPU,IPU DI0 clocks */
reg = __raw_readl(&mxc_ccm->CCGR3); reg = readl(&mxc_ccm->CCGR3);
reg |= MXC_CCM_CCGR3_LDB_DI0_MASK | MXC_CCM_CCGR3_LDB_DI1_MASK; reg |= MXC_CCM_CCGR3_LDB_DI0_MASK | MXC_CCM_CCGR3_LDB_DI1_MASK;
writel(reg, &mxc_ccm->CCGR3); writel(reg, &mxc_ccm->CCGR3);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment