xref: /openbmc/u-boot/drivers/block/Kconfig (revision e8a016b5)
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
22*e8a016b5SMichal Simekconfig DM_SCSI
23*e8a016b5SMichal Simek	bool "Support SCSI controllers with driver model"
24*e8a016b5SMichal Simek	depends on BLK
25*e8a016b5SMichal Simek	help
26*e8a016b5SMichal Simek	  This option enables the SCSI (Small Computer System Interface) uclass
27*e8a016b5SMichal Simek	  which supports SCSI and SATA HDDs. For every device configuration
28*e8a016b5SMichal Simek	  (IDs/LUNs) a block device is created with RAW read/write and
29*e8a016b5SMichal Simek	  filesystem support.
30*e8a016b5SMichal 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.
39*e8a016b5SMichal Simek
40*e8a016b5SMichal Simekmenu "SATA/SCSI device support"
41*e8a016b5SMichal Simek
42*e8a016b5SMichal Simekendmenu
43