diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-05 16:26:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-07 12:19:41 +0100 |
commit | 1d9e9d1b8a9e92a7a3b6dd4a2454e32c6c927cbf (patch) | |
tree | e6073a9954cdc49a35484d76456e34eb3ff0f3db /drivers/ata/Kconfig | |
parent | dd97d796961eb1bd5f3ee9bbbf0533be98718609 (diff) | |
download | barebox-1d9e9d1b8a9e92a7a3b6dd4a2454e32c6c927cbf.tar.gz barebox-1d9e9d1b8a9e92a7a3b6dd4a2454e32c6c927cbf.tar.xz |
ata: split ide sff suport to separate file
Currently we only support oldschool IDE SFF devices. This is done
by registering a register layout struct and everything else is done
by the generic IDE SFF driver. Since modern ATA devices still use
ATA, but not the SFF interface anymore, split out the IDE SFF support
to a separate file to allow for other types of ata interfaces.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r-- | drivers/ata/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 459fac3b90..c66f13de9f 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -9,6 +9,9 @@ menuconfig DISK if DISK +config DISK_IDE_SFF + bool + config DISK_WRITE select BLOCK_WRITE bool "support writing to disk drives" @@ -35,6 +38,7 @@ comment "interface types" config DISK_INTF_PLATFORM_IDE bool "Platform IDE" select DISK_ATA + select DISK_IDE_SFF help Generic platform driver for simple IDE like interfaces to a connected ATA device. @@ -42,7 +46,7 @@ config DISK_INTF_PLATFORM_IDE config DISK_PATA_IMX bool "i.MX PATA driver" depends on ARCH_IMX - select DISK_ATA + depends on DISK_INTF_PLATFORM_IDE help select this to enable support for the i.MX PATA driver |