xtensa: select HAVE_IDE only on platforms that may have it
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 16 Jun 2014 04:25:43 +0000 (08:25 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Aug 2014 07:59:11 +0000 (11:59 +0400)
HAVE_IDE is not a property of architecture but of a platform, and neither
ISS or XTFPGA support it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig
arch/xtensa/configs/iss_defconfig

index 3b486dd5d6d444e5015277c90ec7d032ef090dda..eaa9d07907d756519c253a68fef8bbe6f789299e 100644 (file)
@@ -15,7 +15,6 @@ config XTENSA
        select GENERIC_PCI_IOMAP
        select GENERIC_SCHED_CLOCK
        select HAVE_FUNCTION_TRACER
-       select HAVE_IDE
        select HAVE_IRQ_TIME_ACCOUNTING
        select HAVE_OPROFILE
        select HAVE_PERF_EVENTS
@@ -286,12 +285,14 @@ config XTENSA_PLATFORM_ISS
 
 config XTENSA_PLATFORM_XT2000
        bool "XT2000"
+       select HAVE_IDE
        help
          XT2000 is the name of Tensilica's feature-rich emulation platform.
          This hardware is capable of running a full Linux distribution.
 
 config XTENSA_PLATFORM_S6105
        bool "S6105"
+       select HAVE_IDE
        select SERIAL_CONSOLE
        select NO_IOPORT_MAP
 
index 1493c68352d11454a50a7fdfb5f11f49ab54de88..009fe4a266dca25a1a9abb1b382b9459ba2c601c 100644 (file)
@@ -308,7 +308,7 @@ CONFIG_MISC_DEVICES=y
 # EEPROM support
 #
 # CONFIG_EEPROM_93CX6 is not set
-CONFIG_HAVE_IDE=y
+# CONFIG_HAVE_IDE is not set
 # CONFIG_IDE is not set
 
 #