80eea84dc29731c96a48a2fd8814cd511375806b
[platform/kernel/u-boot.git] / drivers / block / Kconfig
1 config BLK
2         bool "Support block devices"
3         depends on DM
4         help
5           Enable support for block devices, such as SCSI, MMC and USB
6           flash sticks. These provide a block-level interface which permits
7           reading, writing and (in some cases) erasing blocks. Block
8           devices often have a partition table which allows the device to
9           be partitioned into several areas, called 'partitions' in U-Boot.
10           A filesystem can be placed in each partition.
11
12 config AHCI
13         bool "Support SATA controllers with driver model"
14         depends on DM
15         help
16           This enables a uclass for disk controllers in U-Boot. Various driver
17           types can use this, such as AHCI/SATA. It does not provide any standard
18           operations at present. The block device interface has not been converted
19           to driver model.
20
21 config BLOCK_CACHE
22         bool "Use block device cache"
23         default n
24         help
25           This option enables a disk-block cache for all block devices.
26           This is most useful when accessing filesystems under U-Boot since
27           it will prevent repeated reads from directory structures and other
28           filesystem data structures.