ata: sata_dwc_460ex: use "dmas" DT property to find dma channel
[cascardo/linux.git] / drivers / ata / Kconfig
index 0f528d3..fec5619 100644 (file)
@@ -305,14 +305,21 @@ config ATA_PIIX
 
 config SATA_DWC
        tristate "DesignWare Cores SATA support"
-       depends on 460EX
-       select DW_DMAC_CORE
        help
          This option enables support for the on-chip SATA controller of the
          AppliedMicro processor 460EX.
 
          If unsure, say N.
 
+config SATA_DWC_OLD_DMA
+       bool "Support old device trees"
+       depends on SATA_DWC
+       select DW_DMAC_CORE
+       default y if 460EX
+       help
+         This option enables support for old device trees without the
+         "dmas" property.
+
 config SATA_DWC_DEBUG
        bool "Debugging driver version"
        depends on SATA_DWC