xref: /openbmc/u-boot/drivers/block/Kconfig (revision a219639d)
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
12*a219639dSSimon Glassconfig AHCI
13*a219639dSSimon Glass	bool "Support SATA controllers with driver model"
14e3b5f041SSimon Glass	depends on DM
15e3b5f041SSimon Glass	help
16e3b5f041SSimon Glass	  This enables a uclass for disk controllers in U-Boot. Various driver
17e3b5f041SSimon Glass	  types can use this, such as AHCI/SATA. It does not provide any standard
18e3b5f041SSimon Glass	  operations at present. The block device interface has not been converted
19e3b5f041SSimon Glass	  to driver model.
20e40cf34aSEric Nelson
21e40cf34aSEric Nelsonconfig BLOCK_CACHE
22e40cf34aSEric Nelson	bool "Use block device cache"
23e40cf34aSEric Nelson	default n
24e40cf34aSEric Nelson	help
25e40cf34aSEric Nelson	  This option enables a disk-block cache for all block devices.
26e40cf34aSEric Nelson	  This is most useful when accessing filesystems under U-Boot since
27e40cf34aSEric Nelson	  it will prevent repeated reads from directory structures and other
28e40cf34aSEric Nelson	  filesystem data structures.
29