[U-Boot] [PATCH v2 0/5] Add basic clock and pinmux functions to the Tegra2
Simon Glass
sjg at chromium.org
Tue Jun 14 01:38:18 CEST 2011
This patch series adds basic clock and pinmux functions to the Tegra2, and
modifies the ap20 and board code to use them. It includes a few very simple
required bitfield helper macros for ARM Tegra2 only.
Changes for v2:
- Removed use of bitfield macros in C code
- Now uses manual shifts and masks
Simon Glass (5):
Tegra2: Add macros to calculate bitfield shifts and masks
Tegra2: Add microsecond timer functions
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 | 27 ++-
arch/arm/include/asm/arch-tegra2/bitfield.h | 96 ++++++++++
arch/arm/include/asm/arch-tegra2/clk_rst.h | 140 +++++++-------
arch/arm/include/asm/arch-tegra2/clock.h | 264 +++++++++++++++++++++++++++
arch/arm/include/asm/arch-tegra2/pinmux.h | 155 +++++++++++++++-
arch/arm/include/asm/arch-tegra2/timer.h | 34 ++++
board/nvidia/common/board.c | 64 +++----
11 files changed, 893 insertions(+), 191 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/bitfield.h
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