xref: /openbmc/u-boot/drivers/block/Kconfig (revision fc843a02)
109d71aacSSimon Glassconfig BLK
209d71aacSSimon Glass	bool "Support block devices"
309d71aacSSimon Glass	depends on DM
4896a74f6SSimon Glass	default y if DM_MMC
509d71aacSSimon Glass	help
609d71aacSSimon Glass	  Enable support for block devices, such as SCSI, MMC and USB
709d71aacSSimon Glass	  flash sticks. These provide a block-level interface which permits
809d71aacSSimon Glass	  reading, writing and (in some cases) erasing blocks. Block
909d71aacSSimon Glass	  devices often have a partition table which allows the device to
1009d71aacSSimon Glass	  be partitioned into several areas, called 'partitions' in U-Boot.
1109d71aacSSimon Glass	  A filesystem can be placed in each partition.
1209d71aacSSimon Glass
13a219639dSSimon Glassconfig AHCI
14a219639dSSimon Glass	bool "Support SATA controllers with driver model"
15e3b5f041SSimon Glass	depends on DM
16e3b5f041SSimon Glass	help
17e3b5f041SSimon Glass	  This enables a uclass for disk controllers in U-Boot. Various driver
18e3b5f041SSimon Glass	  types can use this, such as AHCI/SATA. It does not provide any standard
19e3b5f041SSimon Glass	  operations at present. The block device interface has not been converted
20e3b5f041SSimon Glass	  to driver model.
21e40cf34aSEric Nelson
22e8a016b5SMichal Simekconfig DM_SCSI
23e8a016b5SMichal Simek	bool "Support SCSI controllers with driver model"
24e8a016b5SMichal Simek	depends on BLK
25e8a016b5SMichal Simek	help
26e8a016b5SMichal Simek	  This option enables the SCSI (Small Computer System Interface) uclass
27e8a016b5SMichal Simek	  which supports SCSI and SATA HDDs. For every device configuration
28e8a016b5SMichal Simek	  (IDs/LUNs) a block device is created with RAW read/write and
29e8a016b5SMichal Simek	  filesystem support.
30e8a016b5SMichal Simek
31e40cf34aSEric Nelsonconfig BLOCK_CACHE
32e40cf34aSEric Nelson	bool "Use block device cache"
33e40cf34aSEric Nelson	default n
34e40cf34aSEric Nelson	help
35e40cf34aSEric Nelson	  This option enables a disk-block cache for all block devices.
36e40cf34aSEric Nelson	  This is most useful when accessing filesystems under U-Boot since
37e40cf34aSEric Nelson	  it will prevent repeated reads from directory structures and other
38e40cf34aSEric Nelson	  filesystem data structures.
39e8a016b5SMichal Simek
40e8a016b5SMichal Simekmenu "SATA/SCSI device support"
41e8a016b5SMichal Simek
4249c4c78eSMichal Simekconfig SATA_CEVA
4349c4c78eSMichal Simek	bool "Ceva Sata controller"
4449c4c78eSMichal Simek	depends on AHCI
4549c4c78eSMichal Simek	depends on DM_SCSI
4649c4c78eSMichal Simek	help
4749c4c78eSMichal Simek	  This option enables Ceva Sata controller hard IP available on Xilinx
4849c4c78eSMichal Simek	  ZynqMP. Support up to 2 external devices. Complient with SATA 3.1 and
4949c4c78eSMichal Simek	  AHCI 1.3 specifications with hot-plug detect feature.
5049c4c78eSMichal Simek
5102a4b429SJean-Jacques Hiblot
5202a4b429SJean-Jacques Hiblotconfig DWC_AHCI
5302a4b429SJean-Jacques Hiblot	bool "Enable Synopsys DWC AHCI driver support"
5402a4b429SJean-Jacques Hiblot	select SCSI_AHCI
5502a4b429SJean-Jacques Hiblot	select PHY
5602a4b429SJean-Jacques Hiblot	depends on DM_SCSI
5702a4b429SJean-Jacques Hiblot	help
5802a4b429SJean-Jacques Hiblot	  Enable this driver to support Sata devices through
5902a4b429SJean-Jacques Hiblot	  Synopsys DWC AHCI module.
6002a4b429SJean-Jacques Hiblot
61e8a016b5SMichal Simekendmenu
62*fc843a02SSimon Glass
63*fc843a02SSimon Glassconfig IDE
64*fc843a02SSimon Glass	bool "Support IDE controllers"
65*fc843a02SSimon Glass	help
66*fc843a02SSimon Glass	  Enables support for IDE (Integrated Drive Electronics) hard drives.
67*fc843a02SSimon Glass	  This allows access to raw blocks and filesystems on an IDE drive
68*fc843a02SSimon Glass	  from U-Boot. See also CMD_IDE which provides an 'ide' command for
69*fc843a02SSimon Glass	  performing various IDE operations.
70