Simon Glass | 09d71aa | 2016-02-29 15:25:55 -0700 | [diff] [blame] | 1 | config BLK |
| 2 | bool "Support block devices" |
| 3 | depends on DM |
Simon Glass | 896a74f | 2016-10-01 14:43:18 -0600 | [diff] [blame] | 4 | default y if DM_MMC |
Simon Glass | 09d71aa | 2016-02-29 15:25:55 -0700 | [diff] [blame] | 5 | 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 Glass | a219639 | 2016-05-01 11:35:52 -0600 | [diff] [blame] | 13 | config AHCI |
| 14 | bool "Support SATA controllers with driver model" |
Simon Glass | e3b5f04 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 15 | depends on DM |
Simon Glass | e3b5f04 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 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 | |
Michal Simek | e8a016b | 2016-09-08 15:06:45 +0200 | [diff] [blame^] | 22 | config DM_SCSI |
| 23 | bool "Support SCSI controllers with driver model" |
| 24 | depends on BLK |
| 25 | help |
| 26 | This option enables the SCSI (Small Computer System Interface) uclass |
| 27 | which supports SCSI and SATA HDDs. For every device configuration |
| 28 | (IDs/LUNs) a block device is created with RAW read/write and |
| 29 | filesystem support. |
| 30 | |
Eric Nelson | e40cf34 | 2016-03-28 10:05:44 -0700 | [diff] [blame] | 31 | config BLOCK_CACHE |
| 32 | bool "Use block device cache" |
| 33 | default n |
| 34 | help |
| 35 | This option enables a disk-block cache for all block devices. |
| 36 | This is most useful when accessing filesystems under U-Boot since |
| 37 | it will prevent repeated reads from directory structures and other |
| 38 | filesystem data structures. |
Michal Simek | e8a016b | 2016-09-08 15:06:45 +0200 | [diff] [blame^] | 39 | |
| 40 | menu "SATA/SCSI device support" |
| 41 | |
| 42 | endmenu |