blob: fe5aa07f921a7d8a8bb803680339d18f68d8554a [file] [log] [blame]
Simon Glass09d71aa2016-02-29 15:25:55 -07001config BLK
2 bool "Support block devices"
3 depends on DM
Simon Glass896a74f2016-10-01 14:43:18 -06004 default y if DM_MMC
Simon Glass09d71aa2016-02-29 15:25:55 -07005 help
6 Enable support for block devices, such as SCSI, MMC and USB
7 flash sticks. These provide a block-level interface which permits
8 reading, writing and (in some cases) erasing blocks. Block
9 devices often have a partition table which allows the device to
10 be partitioned into several areas, called 'partitions' in U-Boot.
11 A filesystem can be placed in each partition.
12
Simon Glassa2196392016-05-01 11:35:52 -060013config AHCI
14 bool "Support SATA controllers with driver model"
Simon Glasse3b5f042016-01-17 16:11:34 -070015 depends on DM
Simon Glasse3b5f042016-01-17 16:11:34 -070016 help
17 This enables a uclass for disk controllers in U-Boot. Various driver
18 types can use this, such as AHCI/SATA. It does not provide any standard
19 operations at present. The block device interface has not been converted
20 to driver model.
Eric Nelsone40cf342016-03-28 10:05:44 -070021
22config BLOCK_CACHE
23 bool "Use block device cache"
24 default n
25 help
26 This option enables a disk-block cache for all block devices.
27 This is most useful when accessing filesystems under U-Boot since
28 it will prevent repeated reads from directory structures and other
29 filesystem data structures.