MX6 SabreSD: Use readl() to read the CCM_CCGR3 register
PATCH 1/1 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 <[email protected]>
--- board/freescale/mx6sabresd/mx6sabresd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/mx6sabresd/mx6sabresd.c +1 -1
@@ -360,7 +360,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);
Signature · 1 line
1.7.1
PATCH 1/1 MX6 SabreSD: Use readl() to read the CCM_CCGR3 register
Quoted 4 lines · Liu Ying
Align with the context to use
readl()to read theCCM_CCGR3register with memory barrier instead of__raw_readl().Signed-off-by Liu Ying <[email protected]>
Reviewed-by Fabio Estevam <[email protected]>
PATCH 1/1 MX6 SabreSD: Use readl() to read the CCM_CCGR3 register
In reply to Liu YingQuoted 5 lines · Liu Ying
Align with the context to use
readl()to read theCCM_CCGR3register with memory barrier instead of__raw_readl().Signed-off-by Liu Ying <[email protected]>---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================