mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] i.MX51: Remove GPIO2.6 setup from lowlevel_init
@ 2012-03-17  6:11 Alexander Shiyan
  2012-03-17 16:21 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2012-03-17  6:11 UTC (permalink / raw)
  To: barebox

Remove GPIO2.6 setup from lowlevel_init. It can be defined in board
initialization code if it necessary.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/mach-imx/imx51.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/arch/arm/mach-imx/imx51.c b/arch/arm/mach-imx/imx51.c
index 2431e61..f7f2345 100644
--- a/arch/arm/mach-imx/imx51.c
+++ b/arch/arm/mach-imx/imx51.c
@@ -270,14 +270,4 @@ void imx51_init_lowlevel(void)
 	while (readl(ccm + MX5_CCM_CDHIPR));
 
 	writel(0x0, ccm + MX5_CCM_CCDR);
-
-	writel(0x1, 0x73fa8074);
-
-	r = readl(0x73f88000);
-	r |= 0x40;
-	writel(r, 0x73f88000);
-
-	r = readl(0x73f88004);
-	r |= 0x40;
-	writel(r, 0x73f88004);
 }
-- 
1.7.3.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] i.MX51: Remove GPIO2.6 setup from lowlevel_init
  2012-03-17  6:11 [PATCH] i.MX51: Remove GPIO2.6 setup from lowlevel_init Alexander Shiyan
@ 2012-03-17 16:21 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-03-17 16:21 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Sat, Mar 17, 2012 at 10:11:41AM +0400, Alexander Shiyan wrote:
> Remove GPIO2.6 setup from lowlevel_init. It can be defined in board
> initialization code if it necessary.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

Applied, thanks

Sascha

> ---
>  arch/arm/mach-imx/imx51.c |   10 ----------
>  1 files changed, 0 insertions(+), 10 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/imx51.c b/arch/arm/mach-imx/imx51.c
> index 2431e61..f7f2345 100644
> --- a/arch/arm/mach-imx/imx51.c
> +++ b/arch/arm/mach-imx/imx51.c
> @@ -270,14 +270,4 @@ void imx51_init_lowlevel(void)
>  	while (readl(ccm + MX5_CCM_CDHIPR));
>  
>  	writel(0x0, ccm + MX5_CCM_CCDR);
> -
> -	writel(0x1, 0x73fa8074);
> -
> -	r = readl(0x73f88000);
> -	r |= 0x40;
> -	writel(r, 0x73f88000);
> -
> -	r = readl(0x73f88004);
> -	r |= 0x40;
> -	writel(r, 0x73f88004);
>  }
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-17 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-17  6:11 [PATCH] i.MX51: Remove GPIO2.6 setup from lowlevel_init Alexander Shiyan
2012-03-17 16:21 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox