[PATCH 3/3 v2] at91: implement clock framework

Baruch Siach baruch at tkos.co.il
Wed Aug 4 01:20:23 EDT 2010


Hi Jean-Christophe,

On Wed, Aug 04, 2010 at 03:33:15AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> this implementation is based on linux one (v2.6.35-rc5-76-gd0c6f62)
> it will calculate all the clock dynamically instead of statictly
> this will use also the new clock framework
> 
> it will also print the clock status after the console init
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> v2:
> upadate against mainline kernel
> and add ref on which revision it's based on

[snip]

> diff --git a/arch/arm/boards/mmccpu/config.h b/arch/arm/boards/mmccpu/config.h
> index 1133b8f..422ac09 100644
> --- a/arch/arm/boards/mmccpu/config.h
> +++ b/arch/arm/boards/mmccpu/config.h
> @@ -1,7 +1,7 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> -#define AT91_MASTER_CLOCK	99532800		/* peripheral = main / 2 */
> +#define AT91_M1IN_CLOCK		18432000

s/M1IN/MAIN/ ?

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the barebox mailing list