mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM i.MX51 babbage: Remove clock raise from power_init.
@ 2012-03-24  9:53 Alexander Shiyan
  2012-04-02  7:21 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2012-03-24  9:53 UTC (permalink / raw)
  To: barebox

Because CPU frequency setup called after power initialization,
this call now is not necessary.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boards/freescale-mx51-pdk/board.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boards/freescale-mx51-pdk/board.c b/arch/arm/boards/freescale-mx51-pdk/board.c
index 108af93..2ca4339 100644
--- a/arch/arm/boards/freescale-mx51-pdk/board.c
+++ b/arch/arm/boards/freescale-mx51-pdk/board.c
@@ -159,9 +159,6 @@ static void babbage_power_init(void)
 		val &= ~0x1f;
 		val |= 0x1a;
 		mc13892_reg_write(mc13892, MC13892_REG_SW_2, val);
-		udelay(50);
-		/* Raise the core frequency to 800MHz */
-		writel(0x0, MX51_CCM_BASE_ADDR + MX51_CCM_CACRR);
 	} else {
 		/* Setup VCC (SW2) to 1.225 */
 		mc13892_reg_read(mc13892, MC13892_REG_SW_1, &val);
-- 
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] ARM i.MX51 babbage: Remove clock raise from power_init.
  2012-03-24  9:53 [PATCH] ARM i.MX51 babbage: Remove clock raise from power_init Alexander Shiyan
@ 2012-04-02  7:21 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-04-02  7:21 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Sat, Mar 24, 2012 at 01:53:05PM +0400, Alexander Shiyan wrote:
> Because CPU frequency setup called after power initialization,
> this call now is not necessary.

Applied, thanks.

Sascha

> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  arch/arm/boards/freescale-mx51-pdk/board.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boards/freescale-mx51-pdk/board.c b/arch/arm/boards/freescale-mx51-pdk/board.c
> index 108af93..2ca4339 100644
> --- a/arch/arm/boards/freescale-mx51-pdk/board.c
> +++ b/arch/arm/boards/freescale-mx51-pdk/board.c
> @@ -159,9 +159,6 @@ static void babbage_power_init(void)
>  		val &= ~0x1f;
>  		val |= 0x1a;
>  		mc13892_reg_write(mc13892, MC13892_REG_SW_2, val);
> -		udelay(50);
> -		/* Raise the core frequency to 800MHz */
> -		writel(0x0, MX51_CCM_BASE_ADDR + MX51_CCM_CACRR);
>  	} else {
>  		/* Setup VCC (SW2) to 1.225 */
>  		mc13892_reg_read(mc13892, MC13892_REG_SW_1, &val);
> -- 
> 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-04-02  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-24  9:53 [PATCH] ARM i.MX51 babbage: Remove clock raise from power_init Alexander Shiyan
2012-04-02  7: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