clk framework in u-boot v2

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Nov 13 17:42:01 EST 2009


Hi,

	this patch serie introduce the clk support in u-boot-v2
	to simplify clock handling in drivers
	as example when porting Amba PL011 drivers you will have to handle
	clock for different SoC as it's a generic IP dev by ARM LTD and used
	in different such as Nomadik from ST-Ericsson

	this first series will switch the AT91 to the clk framework with the
	same way as handle in Linux

The following changes since commit 71306852fd860ecf03b7b0b08b1d2903be6d5abd:
  Jean-Christophe PLAGNIOL-VILLARD (1):
        arm: generate mach-types.h instead of static version

are available in the git repository at:

  git://uboot.jcrosoft.org/u-boot-v2.git for-sascha

Jean-Christophe PLAGNIOL-VILLARD (3):
      initcall: add postconsole_initcall
      clock: Introduce clock framework from Linux
      at91: implement clock framework

 arch/arm/mach-at91/Makefile                 |    2 +-
 arch/arm/mach-at91/at91sam9260.c            |  207 ++++++++
 arch/arm/mach-at91/at91sam9260_devices.c    |   18 +-
 arch/arm/mach-at91/at91sam9263.c            |  217 +++++++++
 arch/arm/mach-at91/at91sam9263_devices.c    |   13 +-
 arch/arm/mach-at91/clock.c                  |  672 +++++++++++++++++++++++++++
 arch/arm/mach-at91/clock.h                  |   31 ++
 arch/arm/mach-at91/generic.h                |   14 +
 arch/arm/mach-at91/gpio.c                   |    3 +
 arch/arm/mach-at91/include/mach/at91_dbgu.h |   66 +++
 arch/arm/mach-at91/include/mach/clk.h       |   39 --
 arch/arm/mach-at91/include/mach/cpu.h       |  118 +++++
 arch/arm/mach-at91/include/mach/gpio.h      |    1 +
 board/at91sam9260ek/config.h                |    2 +-
 board/at91sam9263ek/config.h                |    2 +-
 board/at91sam9263ek/init.c                  |    3 -
 board/mmccpu/config.h                       |    2 +-
 board/mmccpu/init.c                         |    3 -
 board/pm9263/config.h                       |    2 +-
 board/pm9263/init.c                         |    3 -
 drivers/net/macb.c                          |   11 +-
 drivers/serial/atmel.c                      |   32 ++-
 include/init.h                              |    1 +
 include/linux/clk.h                         |  158 +++++++
 24 files changed, 1545 insertions(+), 75 deletions(-)
 create mode 100644 arch/arm/mach-at91/clock.c
 create mode 100644 arch/arm/mach-at91/clock.h
 create mode 100644 arch/arm/mach-at91/generic.h
 create mode 100644 arch/arm/mach-at91/include/mach/at91_dbgu.h
 delete mode 100644 arch/arm/mach-at91/include/mach/clk.h
 create mode 100644 arch/arm/mach-at91/include/mach/cpu.h
 create mode 100644 include/linux/clk.h

Best Regards,
J.




More information about the barebox mailing list