[PATCH 09/12] ARM: AM33xx: Make mpu pll configurable by lowlevel board code

Jan Lübbe jlu at pengutronix.de
Mon Jul 8 10:41:58 EDT 2013


On Mon, 2013-07-08 at 15:17 +0200, Teresa Gámez wrote:
> diff --git a/arch/arm/mach-omap/am33xx_clock.c b/arch/arm/mach-omap/am33xx_clock.c
> index e4d9d77..9928e9f 100644
> --- a/arch/arm/mach-omap/am33xx_clock.c
> +++ b/arch/arm/mach-omap/am33xx_clock.c
> @@ -294,9 +294,9 @@ void enable_ddr_clocks(void)
>  /*
>   * Configure the PLL/PRCM for necessary peripherals
>   */
> -void pll_init()
> +void pll_init(int mpupll_M)
>  {
> -	mpu_pll_config(MPUPLL_M_500);
> +	mpu_pll_config(mpupll_M);
>  	core_pll_config();
>  	per_pll_config();
>  	ddr_pll_config();

Thanks, good idea. :)

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