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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Aug 4 02:06:36 EDT 2010


On 08:20 Wed 04 Aug     , Baruch Siach wrote:
> 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/ ?
nice

Best Regards,
J.



More information about the barebox mailing list