u-boot/arch/arm/cpu
Stephen Warren e296995767 ARM: tegra: pinctrl: remove duplication
Much of arch/arm/cpu/tegra*-common/pinmux.c is identical. Remove the
duplication by creating pinmux-common.c for all the identical code.

This leaves:
* arch/arm/include/asm/arch-tegra*/pinmux.h defining only the names of
  the various pins/pin groups, drive groups, and mux functions.
* arch/arm/cpu/tegra*-common/pinmux.c containing only the lookup table
  stating which pin groups support which mux functions.

The code in pinmux-common.c is semantically identical to that in the
various original pinmux.c, but had some consistency and cleanup fixes
applied during migration.

I removed the definition of struct pmux_tri_ctlr, since this is different
between SoCs (especially Tegra20 vs all others), and it's much simpler to
deal with this via the new REG/MUX_REG/... defines. spl.c, warmboot.c,
and warmboot_avp.c needed updates due to this, since they previously
hijacked this struct to encode the location of some non-pinmux registers.
Now, that code simply calculates these register addresses directly using
simple and obvious math. I like this method better irrespective of the
pinmux code cleanup anyway.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2014-04-17 08:41:05 -07:00
..
arm720t ARM: tegra: use apb_misc.h in more places 2014-04-17 08:41:05 -07:00
arm920t arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
arm926ejs Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-04-08 09:25:08 +02:00
arm946es arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
arm1136 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
arm1176 arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
arm_intcm arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
armv7 Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-04-08 09:25:08 +02:00
armv8 arm64 patch: gicv3 support 2014-04-08 00:15:12 +02:00
at91-common Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-03-10 14:22:54 -04:00
pxa Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-26 16:49:58 -05:00
sa1100 arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
tegra-common ARM: tegra: pinctrl: remove duplication 2014-04-17 08:41:05 -07:00
tegra20-common ARM: tegra: pinctrl: remove duplication 2014-04-17 08:41:05 -07:00
tegra30-common ARM: tegra: pinctrl: remove duplication 2014-04-17 08:41:05 -07:00
tegra114-common ARM: tegra: pinctrl: remove duplication 2014-04-17 08:41:05 -07:00
tegra124-common ARM: tegra: pinctrl: remove duplication 2014-04-17 08:41:05 -07:00
Makefile arm: atmel: add ddr2 initialization function 2013-12-01 22:38:47 +01:00
u-boot-spl.lds arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00
u-boot.lds arm: Handle .gnu.hash section in ldscripts 2014-04-07 11:12:18 +02:00