[PATCH] ARM i.MX51 babbage: Remove clock raise from power_init.

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 2 03:21:00 EDT 2012


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 at 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 at 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 |



More information about the barebox mailing list