From: Liu Ying Date: Fri, 29 Nov 2013 14:38:39 +0000 (+0800) Subject: MX6 SabreSD: Use readl() to read the CCM_CCGR3 register X-Git-Tag: v2014.01-rc3~9^2~47^2~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1230743731cb8a2e3348044e2535e890d16fb2e6;p=oweals%2Fu-boot.git 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: Liu Ying Reviewed-by: Fabio Estevam --- diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 851cbe9b32..3a1fb20fff 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -390,7 +390,7 @@ static void setup_display(void) imx_setup_hdmi(); /* 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; writel(reg, &mxc_ccm->CCGR3);