[U-Boot] [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 Ying.Liu@freescale.com --- 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 9dbe605..d4b3b99 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -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);

On Fri, Nov 29, 2013 at 12:38 PM, Liu Ying Ying.Liu@freescale.com wrote:
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

On 29/11/2013 15:38, Liu Ying wrote:
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
Applied to u-boot-imx, thanks.
Best regards, Stefano Babic
participants (3)
-
Fabio Estevam
-
Liu Ying
-
Stefano Babic