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

Wolfgang Denk wd at denx.de
Tue Mar 31 23:26:25 CEST 2009


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?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Always leave room to add an explanation if it doesn't work out.


More information about the U-Boot mailing list