[U-Boot] [PATCH v3 0/4] Add basic clock and pinmux functions to the Tegra2

Simon Glass sjg at chromium.org
Fri Jul 29 06:11:28 CEST 2011


This patch series adds basic clock and pinmux functions to the Tegra2, and
modifies the ap20 and board code to use them.

Changes in v2:
- Removed use of bitfield access macros
- Now uses manual shifts and masks

Changes in v3:
- Removed bitfield shift/mask macros and write these out manually
- Rebased to take account to new MMC patches
- Remove future time function
- No microsecond timing changes as I am unsure of the state of this in U-Boot

Simon Glass (4):
  Tegra2: Add microsecond timer function
  Tegra2: Add more clock support
  Tegra2: Add additional pin multiplexing features
  Tegra2: Use clock and pinmux functions to simplify code

 arch/arm/cpu/armv7/tegra2/Makefile         |    2 +-
 arch/arm/cpu/armv7/tegra2/ap20.c           |   91 +++-------
 arch/arm/cpu/armv7/tegra2/clock.c          |  158 +++++++++++++++++
 arch/arm/cpu/armv7/tegra2/pinmux.c         |   53 ++++++
 arch/arm/cpu/armv7/tegra2/timer.c          |   18 ++-
 arch/arm/include/asm/arch-tegra2/clk_rst.h |  127 ++++++--------
 arch/arm/include/asm/arch-tegra2/clock.h   |  264 ++++++++++++++++++++++++++++
 arch/arm/include/asm/arch-tegra2/pinmux.h  |  161 ++++++++++++++++--
 arch/arm/include/asm/arch-tegra2/timer.h   |   34 ++++
 board/nvidia/common/board.c                |  117 ++++---------
 10 files changed, 784 insertions(+), 241 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/tegra2/clock.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/pinmux.c
 create mode 100644 arch/arm/include/asm/arch-tegra2/clock.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/timer.h

-- 
1.7.3.1



More information about the U-Boot mailing list