summary refs log tree commit diff
path: root/arch/xtensa/Kconfig
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-10-04 04:44:04 +0400
committerMax Filippov <jcmvbkbc@gmail.com>2014-10-06 03:23:53 +0400
commit61e47e9b53fcaf9fe4c3d80b4aa86c5d1e040fcb (patch)
tree8860ef5979c707c090d2ac784b6c3c7c10940ed6 /arch/xtensa/Kconfig
parentbb550fd5c3429bf56f547c9907db2c396027c9a4 (diff)
downloadlinux-61e47e9b53fcaf9fe4c3d80b4aa86c5d1e040fcb.tar.gz
xtensa: xtfpga: only select ethoc when ethernet is available
Otherwise we get the following build warning:
    (XTENSA_PLATFORM_XTFPGA) selects ETHOC which has unmet direct
    dependencies (NETDEVICES && ETHERNET && HAS_IOMEM && HAS_DMA)

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r--arch/xtensa/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 390bafed3f34..81f57e8c8f1b 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -319,8 +319,8 @@ config XTENSA_PLATFORM_S6105
 
 config XTENSA_PLATFORM_XTFPGA
 	bool "XTFPGA"
+	select ETHOC if ETHERNET
 	select SERIAL_CONSOLE
-	select ETHOC
 	select XTENSA_CALIBRATE_CCOUNT
 	help
 	  XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).