summaryrefslogtreecommitdiff
path: root/arch/arm/mach-dove/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-02-28 21:19:16 +0400
committerArnd Bergmann <arnd@arndb.de>2013-02-28 21:57:06 +0400
commit48be9ac930086f7605fb4959936f568e865b2cff (patch)
tree41c22e6fd0e0341a891bc5c94c88ac7f067b3587 /arch/arm/mach-dove/Kconfig
parent9f86f2761117f9031c349c1c1e80d9f64820e6f6 (diff)
downloadlinux-48be9ac930086f7605fb4959936f568e865b2cff.tar.xz
ARM: Dove: split legacy and DT setup
In the beginning of DT for Dove it was reasonable to have it close to non-DT code. With improved DT support, it became more and more difficult to not break non-DT while changing DT code. This patch splits up DT board setup and introduces a DOVE_LEGACY config to allow to remove legacy code for DT-only kernels. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-dove/Kconfig')
-rw-r--r--arch/arm/mach-dove/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-dove/Kconfig b/arch/arm/mach-dove/Kconfig
index 603c5fd99e8a..aedd0baa04bf 100644
--- a/arch/arm/mach-dove/Kconfig
+++ b/arch/arm/mach-dove/Kconfig
@@ -2,8 +2,12 @@ if ARCH_DOVE
menu "Marvell Dove Implementations"
+config DOVE_LEGACY
+ bool
+
config MACH_DOVE_DB
bool "Marvell DB-MV88AP510 Development Board"
+ select DOVE_LEGACY
select I2C_BOARDINFO
help
Say 'Y' here if you want your kernel to support the
@@ -11,6 +15,7 @@ config MACH_DOVE_DB
config MACH_CM_A510
bool "CompuLab CM-A510 Board"
+ select DOVE_LEGACY
help
Say 'Y' here if you want your kernel to support the
CompuLab CM-A510 Board.