projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02824dc
)
MX6 SabreSD: Use readl() to read the CCM_CCGR3 register
author
Liu Ying
<Ying.Liu@freescale.com>
Fri, 29 Nov 2013 14:38:39 +0000
(22:38 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 17 Dec 2013 17:38:42 +0000
(18:38 +0100)
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>
board/freescale/mx6sabresd/mx6sabresd.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx6sabresd/mx6sabresd.c
b/board/freescale/mx6sabresd/mx6sabresd.c
index 851cbe9b32d845a3bd5966f13d11ac059d50f139..3a1fb20fff59c291b96a1d81da2777e52f572448 100644
(file)
--- 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);