* [U-Boot] [PATCH 1/1] MX6 SabreSD: Use readl() to read the CCM_CCGR3 register
@ 2013-11-29 14:38 Liu Ying
2013-11-29 16:17 ` Fabio Estevam
2013-12-17 17:43 ` Stefano Babic
0 siblings, 2 replies; 3+ messages in thread
From: Liu Ying @ 2013-11-29 14:38 UTC (permalink / raw)
To: u-boot
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);
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 1/1] MX6 SabreSD: Use readl() to read the CCM_CCGR3 register
2013-11-29 14:38 [U-Boot] [PATCH 1/1] MX6 SabreSD: Use readl() to read the CCM_CCGR3 register Liu Ying
@ 2013-11-29 16:17 ` Fabio Estevam
2013-12-17 17:43 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2013-11-29 16:17 UTC (permalink / raw)
To: u-boot
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 1/1] MX6 SabreSD: Use readl() to read the CCM_CCGR3 register
2013-11-29 14:38 [U-Boot] [PATCH 1/1] MX6 SabreSD: Use readl() to read the CCM_CCGR3 register Liu Ying
2013-11-29 16:17 ` Fabio Estevam
@ 2013-12-17 17:43 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2013-12-17 17:43 UTC (permalink / raw)
To: u-boot
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
--
=====================================================================
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
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-17 17:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29 14:38 [U-Boot] [PATCH 1/1] MX6 SabreSD: Use readl() to read the CCM_CCGR3 register Liu Ying
2013-11-29 16:17 ` Fabio Estevam
2013-12-17 17:43 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox