summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/board-dt-tegra20.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-08-03 15:09:04 -0600
committerStephen Warren <swarren@nvidia.com>2012-09-14 11:31:36 -0600
commitcff1dfbfcd62b2c98c6a79573e5a5c39b0bcd43c (patch)
tree8d2b4dbaaf9c60975a8ac625603c0a69ac2a83a0 /arch/arm/mach-tegra/board-dt-tegra20.c
parentbe6a9194f158482347c430c04ac9ea64644dda67 (diff)
downloadop-kernel-dev-cff1dfbfcd62b2c98c6a79573e5a5c39b0bcd43c.zip
op-kernel-dev-cff1dfbfcd62b2c98c6a79573e5a5c39b0bcd43c.tar.gz
ARM: tegra: remove board (but not DT) support for Paz00
Paz00 (Toshiba AC100) can be booted using device tree with equal functionality as when booted using a board file. Remove as much of the board file as is possible, since it's no longer needed. One special-case is still left in board-dt-tegra20.c, since there is no way to create a WiFi rfkill device from device tree yet. This logic is now enabled unconditionally rather than via CONFIG_MACH_PAZ00. The extra cases where it's enabled (.configs which did not enable Paz00 support) shouldn't impact much since the amount of code is tiny. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-By: Marc Dietrich <marvin24@gmx.de>
Diffstat (limited to 'arch/arm/mach-tegra/board-dt-tegra20.c')
-rw-r--r--arch/arm/mach-tegra/board-dt-tegra20.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c
index 88488f2..20721b4 100644
--- a/arch/arm/mach-tegra/board-dt-tegra20.c
+++ b/arch/arm/mach-tegra/board-dt-tegra20.c
@@ -123,12 +123,10 @@ static void __init harmony_init(void)
}
#endif
-#ifdef CONFIG_MACH_PAZ00
static void __init paz00_init(void)
{
tegra_paz00_wifikill_init();
}
-#endif
static struct {
char *machine;
@@ -138,9 +136,7 @@ static struct {
#ifdef CONFIG_MACH_HARMONY
{ "nvidia,harmony", harmony_init },
#endif
-#ifdef CONFIG_MACH_PAZ00
{ "compal,paz00", paz00_init },
-#endif
};
static void __init tegra_dt_init_late(void)
OpenPOWER on IntegriCloud