Simon Glass | 09d71aa | 2016-02-29 15:25:55 -0700 | [diff] [blame] | 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 | |
Simon Glass | e3b5f04 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 12 | config DISK |
| 13 | bool "Support disk controllers with driver model" |
| 14 | depends on DM |
| 15 | default y if DM |
| 16 | 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 Nelson | e40cf34 | 2016-03-28 10:05:44 -0700 | [diff] [blame] | 21 | |
| 22 | config 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. |