xref: /openbmc/u-boot/drivers/block/Kconfig (revision 896a74f6)
109d71aacSSimon Glassconfig BLK
209d71aacSSimon Glass	bool "Support block devices"
309d71aacSSimon Glass	depends on DM
4*896a74f6SSimon 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
22e40cf34aSEric Nelsonconfig BLOCK_CACHE
23e40cf34aSEric Nelson	bool "Use block device cache"
24e40cf34aSEric Nelson	default n
25e40cf34aSEric Nelson	help
26e40cf34aSEric Nelson	  This option enables a disk-block cache for all block devices.
27e40cf34aSEric Nelson	  This is most useful when accessing filesystems under U-Boot since
28e40cf34aSEric Nelson	  it will prevent repeated reads from directory structures and other
29e40cf34aSEric Nelson	  filesystem data structures.
30