[U-Boot] [PATCH 1/1] at91sam9/at91cap: improve clock framework

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Mar 31 23:49:04 CEST 2009


On 23:26 Tue 31 Mar     , Wolfgang Denk wrote:
> Dear Jean-Christophe PLAGNIOL-VILLARD,
> 
> In message <20090331210130.GJ24923 at game.jcrosoft.org> you wrote:
> > On 22:59 Tue 31 Mar     , Wolfgang Denk wrote:
> > > Dear Jean-Christophe PLAGNIOL-VILLARD,
> > > 
> > > In message <1238486824-19007-1-git-send-email-plagnioj at jcrosoft.com> you wrote:
> > > > calculate dynamically the clock rate and pllb setting for usb
> > > > 
> > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > > > ---
> > > >  board/atmel/at91cap9adk/at91cap9adk.c     |    3 +-
> > > >  board/atmel/at91sam9261ek/at91sam9261ek.c |    3 +-
> > > >  board/atmel/at91sam9263ek/at91sam9263ek.c |    3 +-
> > > >  board/atmel/at91sam9rlek/at91sam9rlek.c   |    3 +-
> > > >  cpu/arm926ejs/at91/Makefile               |    2 +
> > > >  cpu/arm926ejs/at91/clock.c                |  196 +++++++++++++++++++++++++++++
> > > >  cpu/arm926ejs/at91/cpu.c                  |   14 ++
> > > >  drivers/spi/atmel_dataflash_spi.c         |    7 +-
> > > >  drivers/usb/atmel_usb.c                   |    3 +-
> > > >  include/asm-arm/arch-at91/clk.h           |   17 ++-
> > > >  include/asm-arm/arch-at91/hardware.h      |    3 +
> > > >  include/asm-arm/u-boot-arm.h              |    3 +
> > > >  include/configs/afeb9260.h                |    6 +-
> > > >  include/configs/at91cap9adk.h             |    7 +-
> > > >  include/configs/at91sam9260ek.h           |    9 +--
> > > >  include/configs/at91sam9261ek.h           |    6 +-
> > > >  include/configs/at91sam9263ek.h           |    7 +-
> > > >  include/configs/at91sam9rlek.h            |    6 +-
> > > >  lib_arm/board.c                           |    3 +
> > > >  19 files changed, 254 insertions(+), 47 deletions(-)
> > > >  create mode 100644 cpu/arm926ejs/at91/clock.c
> > > >  create mode 100644 cpu/arm926ejs/at91/cpu.c
> > > 
> > > What is the impact of this patch on the memory footprint of the
> > > system?
> > 708 bytes on the 9263ek
> 
> 708 bytes more or less? And how much on the others processors?
more
9260ek  => +704
9261ek  => +680
9263ek  => +708
9rlek   => +648
cap9adk => +708

based on the pm9623 and pm9261 precedently patch it will be less or the same

Best Regards,
J.


More information about the U-Boot mailing list