summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-12-08 15:36:20 +0200
committerTom Rini <trini@konsulko.com>2017-12-12 18:16:05 -0500
commitb82e667f79f753226f3b7d01085869b496b1adc2 (patch)
treefb744f8086bd1c0fdaa90a700d3585872486b81f /drivers
parent9fd95ef0d39819fb27441fdd0f1b15b05d9b5085 (diff)
ata: Migrate CONFIG_LIBATA to Kconfig
This symbol enables some library code used by various SATA drivers, so make this a non-user-visible symbol select'ed by the respective drivers, and let moveconfig handle the rest. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 38318b4615..43e6626969 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -20,8 +20,14 @@ config SATA
See also CMD_SATA which provides command-line support.
+config LIBATA
+ bool
+ help
+ Select this to build and link the libata helper functions.
+
config SCSI_AHCI
bool "Enable SCSI interface to SATA devices"
+ select LIBATA
help
Enable this to allow interfacing SATA devices via the SCSI layer.
@@ -54,30 +60,35 @@ config DWC_AHCI
config DWC_AHSATA
bool "Enable DWC AHSATA driver support"
+ select LIBATA
help
Enable this driver to support the DWC AHSATA SATA controller found
in i.MX5 and i.MX6 SoCs.
config FSL_SATA
bool "Enable Freescale SATA controller driver support"
+ select LIBATA
help
Enable this driver to support the SATA controller found in
some Freescale PowerPC SoCs.
config SATA_MV
bool "Enable Marvell SATA controller driver support"
+ select LIBATA
help
Enable this driver to support the SATA controller found in
some Marvell SoCs.
config SATA_SIL
bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
+ select LIBATA
help
Enable this driver to support the SIL3131, SIL3132 and SIL3124
SATA controllers.
config SATA_SIL3114
bool "Enable Silicon Image SIL3114 SATA driver support"
+ select LIBATA
help
Enable this driver to support the SIL3114 SATA controllers.