xtensa: xtfpga: only select ethoc when ethernet is available
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 4 Oct 2014 00:44:04 +0000 (04:44 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 5 Oct 2014 23:23:53 +0000 (03:23 +0400)
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>
arch/xtensa/Kconfig

index 390bafed3f34fa20dd44b656d56e1d5f9aca7d0e..81f57e8c8f1be91f6cffea3b157b6bead7a541e1 100644 (file)
@@ -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).