xref: /openbmc/u-boot/drivers/block/Kconfig (revision e40cf34a)
109d71aacSSimon Glassconfig BLK
209d71aacSSimon Glass	bool "Support block devices"
309d71aacSSimon Glass	depends on DM
409d71aacSSimon Glass	help
509d71aacSSimon Glass	  Enable support for block devices, such as SCSI, MMC and USB
609d71aacSSimon Glass	  flash sticks. These provide a block-level interface which permits
709d71aacSSimon Glass	  reading, writing and (in some cases) erasing blocks. Block
809d71aacSSimon Glass	  devices often have a partition table which allows the device to
909d71aacSSimon Glass	  be partitioned into several areas, called 'partitions' in U-Boot.
1009d71aacSSimon Glass	  A filesystem can be placed in each partition.
1109d71aacSSimon Glass
12e3b5f041SSimon Glassconfig DISK
13e3b5f041SSimon Glass	bool "Support disk controllers with driver model"
14e3b5f041SSimon Glass	depends on DM
15e3b5f041SSimon Glass	default y if 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.
21*e40cf34aSEric Nelson
22*e40cf34aSEric Nelsonconfig BLOCK_CACHE
23*e40cf34aSEric Nelson	bool "Use block device cache"
24*e40cf34aSEric Nelson	default n
25*e40cf34aSEric Nelson	help
26*e40cf34aSEric Nelson	  This option enables a disk-block cache for all block devices.
27*e40cf34aSEric Nelson	  This is most useful when accessing filesystems under U-Boot since
28*e40cf34aSEric Nelson	  it will prevent repeated reads from directory structures and other
29*e40cf34aSEric Nelson	  filesystem data structures.
30