ARM: davinci: fix Kconfig for DA850_EVM
authorArnd Bergmann <arnd@arndb.de>
Tue, 18 Feb 2014 11:23:19 +0000 (12:23 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:19:33 +0000 (18:19 +0100)
The DAVINCI_DA850_EVM board uses an unusual method to
enable the GPIO_PCA953X and KEYBOARD_GPIO_POLLED symbols,
which leads to the dependencies on these symbols being
ignored. As GPIO_PCA953X actually requires I2C, that
can lead to build failures when I2C is disabled.

This patch removes the duplicate symbol definitions
and instead enables them from the davinci_all_defconfig
file.

A different question whether we actually want to automatically
enable them at all or rather put them into defconfig,
but that should be a separate patch.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: davinci-linux-open-source@linux.davincidsp.com
arch/arm/configs/davinci_all_defconfig
arch/arm/mach-davinci/Kconfig

index ab2f7378352c7e1861bac50cf4a21527a7d9564c..932b932c8856f3c5d72e0a531f51cacc7810b48f 100644 (file)
@@ -198,3 +198,5 @@ CONFIG_DEBUG_ERRORS=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 # CONFIG_CRYPTO_HW is not set
 CONFIG_CRC_T10DIF=m
+CONFIG_GPIO_PCA953X=y
+CONFIG_KEYBOARD_GPIO_POLLED=y
index a075b3e0c5c7a5229aa87163e732d9c6b49a7a50..626d2b82d0f317317fd1a22d7f617dcd1dd5a67e 100644 (file)
@@ -214,11 +214,6 @@ config DA850_WL12XX
          Say Y if you want to use a wl1271 expansion card connected to the
          AM18x EVM.
 
-config GPIO_PCA953X
-       default MACH_DAVINCI_DA850_EVM
-
-config KEYBOARD_GPIO_POLLED
-       default MACH_DAVINCI_DA850_EVM
 
 config MACH_TNETV107X
        bool "TI TNETV107X Reference Platform"