arm/tegra: Make MACH_TEGRA_DT depend on ARCH_TEGRA_2x_SOC
authorStephen Warren <swarren@nvidia.com>
Mon, 19 Dec 2011 19:24:04 +0000 (12:24 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 20 Dec 2011 02:06:27 +0000 (18:06 -0800)
Now that Tegra20 and Tegra30 device tree board files are separate,
MACH_TEGRA_DT (which enables the Tegra20 device tree board file) should
depend on Tegra20 support being enabled.

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

index b3d78fc..373652d 100644 (file)
@@ -66,6 +66,7 @@ config MACH_SEABOARD
 
 config MACH_TEGRA_DT
        bool "Generic Tegra20 board (FDT support)"
+       depends on ARCH_TEGRA_2x_SOC
        select USE_OF
        help
          Support for generic NVIDIA Tegra20 boards using Flattened Device Tree