ARM: tegra: match SoC name not board name in DT board files
authorStephen Warren <swarren@nvidia.com>
Tue, 28 Feb 2012 01:26:16 +0000 (18:26 -0700)
committerOlof Johansson <olof@lixom.net>
Sun, 4 Mar 2012 18:41:19 +0000 (10:41 -0800)
commitc5444f39620b2b7801eb1997c41befdc8bcf78ea
tree872560a46c5fdaca56e6e55f7efd2357148c808f
parent1dbe1dfa8591fce98acbac6a9398284a3f1ecc6e
ARM: tegra: match SoC name not board name in DT board files

board-dt-tegra*.c should support any board using Tegra when booted using
device tree. Instead of explicitly listing all the supported boards,
which requires a kernel change for each new board, list the supported SoC
model instead.

Note that the board files do currently have explicit support for setting
up each board's pinmux. However, it's fairly likely that at least the
basic devices on any new board will work just fine as set up by the boot-
loader, and the pinmux data should be moving into device tree soon anyway.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/board-dt-tegra20.c
arch/arm/mach-tegra/board-dt-tegra30.c