X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fata%2FKconfig;h=7715c40365625ef49091d1d8ead93cb23c5234ef;hb=aca1f6789aa2e384a58909fa7a9696db9d607675;hp=f9978a35796367c574007f58be5267605fb61afc;hpb=e32ec06c9ea6e2a251b4dc242bca583973eacf01;p=platform%2Fkernel%2Fu-boot.git diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index f9978a3..7715c40 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -9,6 +9,7 @@ config AHCI config SATA bool "Support SATA controllers" + depends on BLK select HAVE_BLOCK_DEVICE help This enables support for SATA (Serial Advanced Technology @@ -41,22 +42,14 @@ config AHCI_PCI help Enables support for the PCI-based AHCI controller. +if AHCI + config SPL_AHCI_PCI bool "Support for PCI-based AHCI controller for SPL" depends on SPL depends on SPL_PCI depends on SPL_SATA_SUPPORT && DM_SCSI -config SATA_CEVA - bool "Ceva Sata controller" - depends on AHCI - depends on DM_SCSI - help - This option enables Ceva Sata controller hard IP available on Xilinx - ZynqMP. Support up to 2 external devices. Complient with SATA 3.1 and - AHCI 1.3 specifications with hot-plug detect feature. - - config DWC_AHCI bool "Enable Synopsys DWC AHCI driver support" select SCSI_AHCI @@ -77,25 +70,67 @@ config DWC_AHSATA config DWC_AHSATA_AHCI bool "Enable DWC AHSATA AHCI driver support" depends on DWC_AHSATA - depends on AHCI default y help Enable this option unless you need your private ahci implementation +config MTK_AHCI + bool "Enable Mediatek AHCI driver support" + help + Enable this driver to support Sata devices through + Mediatek AHCI controller (e.g. MT7622). + +config AHCI_MVEBU + bool "Marvell EBU AHCI SATA support" + depends on ARCH_MVEBU || ARCH_OCTEON + select SCSI_AHCI + select DM_SCSI + help + This option enables support for the Marvell EBU SoC's + onboard AHCI SATA. + + If unsure, say N. + +config SUNXI_AHCI + bool "Enable Allwinner SATA driver support" + default y if ARCH_SUNXI + help + Enable this driver to support the SATA controllers found in the + Allwinner A10, A20 and R40 SoCs. + +endif # AHCI + +if SATA + +config SATA_CEVA + bool "Ceva Sata controller" + depends on AHCI + depends on DM_SCSI + help + This option enables Ceva Sata controller hard IP available on Xilinx + ZynqMP. Support up to 2 external devices. Compliant with SATA 3.1 and + AHCI 1.3 specifications with hot-plug detect feature. + config FSL_SATA bool "Enable Freescale SATA controller driver support" + depends on PPC select AHCI select LIBATA - depends on BLK + imply LBA48 help Enable this driver to support the SATA controller found in some Freescale PowerPC SoCs. +config FSL_SATA_V2 + bool "Enable support for V2 of the Freescale SATA controller" + depends on FSL_SATA + help + Enable support for V2 of this controller, rather than V1. + config SATA_MV bool "Enable Marvell SATA controller driver support" select AHCI select LIBATA - depends on BLK help Enable this driver to support the SATA controller found in some Marvell SoCs. @@ -104,36 +139,20 @@ config SATA_SIL bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support" select AHCI select LIBATA - depends on BLK help Enable this driver to support the SIL3131, SIL3132 and SIL3124 SATA controllers. -config SUNXI_AHCI - bool "Enable Allwinner SATA driver support" - depends on AHCI - default y if ARCH_SUNXI +config SYS_SATA_MAX_DEVICE + int "Maximum number of SATA devices" + depends on !AHCI || FSL_SATA || SATA_MV help - Enable this driver to support the SATA controllers found in the - Allwinner A10, A20 and R40 SoCs. - -config AHCI_MVEBU - bool "Marvell EBU AHCI SATA support" - depends on ARCH_MVEBU || ARCH_OCTEON - depends on AHCI - select SCSI_AHCI - select DM_SCSI - help - This option enables support for the Marvell EBU SoC's - onboard AHCI SATA. + Sets the maximum number of SATA devices which can be supported + by U-Boot. - If unsure, say N. + This is only partially converted to driver model. See sata_bread() + for example, which shows where the conversion needs to be completed. -config MTK_AHCI - bool "Enable Mediatek AHCI driver support" - depends on AHCI - help - Enable this driver to support Sata devices through - Mediatek AHCI controller (e.g. MT7622). +endif # SATA endmenu