From: Wolfgang Denk Date: Tue, 31 Mar 2009 23:26:25 +0200 Subject: [U-Boot] [PATCH 1/1] at91sam9/at91cap: improve clock framework In-Reply-To: <20090331210130.GJ24923@game.jcrosoft.org> References: <1238486824-19007-1-git-send-email-plagnioj@jcrosoft.com> <20090331205915.245C683797DC@gemini.denx.de> <20090331210130.GJ24923@game.jcrosoft.org> Message-ID: <20090331212625.3361883797DC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090331210130.GJ24923@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@jcrosoft.com> you wrote: > > > calculate dynamically the clock rate and pllb setting for usb > > > > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > > --- > > > 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.