diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2013-11-29 22:38:39 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-12-17 18:38:42 +0100 |
commit | 1230743731cb8a2e3348044e2535e890d16fb2e6 (patch) | |
tree | e98e50f25cefc54c8a871ff032a99069dd2c8df0 /board | |
parent | 02824dc78642b3057cc8c1ab7dc32203f55a17fa (diff) |
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 <Ying.Liu@freescale.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 851cbe9b32d..3a1fb20fff5 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); |