Simon Glass | 09d71aa | 2016-02-29 15:25:55 -0700 | [diff] [blame] | 1 | config BLK |
| 2 | bool "Support block devices" |
| 3 | depends on DM |
Tom Rini | be5c060 | 2021-07-09 10:11:56 -0400 | [diff] [blame] | 4 | default y if DM_MMC || DM_USB |
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 | |
Adam Ford | 1811a92 | 2018-02-06 12:43:56 -0600 | [diff] [blame] | 13 | config HAVE_BLOCK_DEVICE |
| 14 | bool "Enable Legacy Block Device" |
| 15 | help |
| 16 | Some devices require block support whether or not DM is enabled |
| 17 | |
Simon Glass | c4d660d | 2017-07-04 13:31:19 -0600 | [diff] [blame] | 18 | config SPL_BLK |
| 19 | bool "Support block devices in SPL" |
| 20 | depends on SPL_DM && BLK |
| 21 | default y |
| 22 | help |
| 23 | Enable support for block devices, such as SCSI, MMC and USB |
| 24 | flash sticks. These provide a block-level interface which permits |
| 25 | reading, writing and (in some cases) erasing blocks. Block |
| 26 | devices often have a partition table which allows the device to |
| 27 | be partitioned into several areas, called 'partitions' in U-Boot. |
| 28 | A filesystem can be placed in each partition. |
| 29 | |
Simon Glass | ef39151 | 2018-10-01 12:22:13 -0600 | [diff] [blame] | 30 | config TPL_BLK |
| 31 | bool "Support block devices in TPL" |
| 32 | depends on TPL_DM && BLK |
| 33 | default y |
| 34 | help |
| 35 | Enable support for block devices, such as SCSI, MMC and USB |
| 36 | flash sticks. These provide a block-level interface which permits |
| 37 | reading, writing and (in some cases) erasing blocks. Block |
| 38 | devices often have a partition table which allows the device to |
| 39 | be partitioned into several areas, called 'partitions' in U-Boot. |
| 40 | A filesystem can be placed in each partition. |
| 41 | |
Eric Nelson | e40cf34 | 2016-03-28 10:05:44 -0700 | [diff] [blame] | 42 | config BLOCK_CACHE |
| 43 | bool "Use block device cache" |
Tom Rini | 46960ad | 2018-05-22 12:24:16 -0400 | [diff] [blame] | 44 | depends on BLK |
| 45 | default y |
Eric Nelson | e40cf34 | 2016-03-28 10:05:44 -0700 | [diff] [blame] | 46 | help |
| 47 | This option enables a disk-block cache for all block devices. |
| 48 | This is most useful when accessing filesystems under U-Boot since |
| 49 | it will prevent repeated reads from directory structures and other |
| 50 | filesystem data structures. |
Michal Simek | e8a016b | 2016-09-08 15:06:45 +0200 | [diff] [blame] | 51 | |
Adam Ford | 6fef62c | 2018-06-11 17:17:48 -0500 | [diff] [blame] | 52 | config SPL_BLOCK_CACHE |
| 53 | bool "Use block device cache in SPL" |
| 54 | depends on SPL_BLK |
Adam Ford | 6fef62c | 2018-06-11 17:17:48 -0500 | [diff] [blame] | 55 | help |
| 56 | This option enables the disk-block cache in SPL |
| 57 | |
Simon Glass | 731ba3c | 2019-05-18 11:59:53 -0600 | [diff] [blame] | 58 | config TPL_BLOCK_CACHE |
| 59 | bool "Use block device cache in TPL" |
| 60 | depends on TPL_BLK |
Simon Glass | 731ba3c | 2019-05-18 11:59:53 -0600 | [diff] [blame] | 61 | help |
| 62 | This option enables the disk-block cache in TPL |
| 63 | |
Simon Glass | fc843a0 | 2017-05-17 03:25:30 -0600 | [diff] [blame] | 64 | config IDE |
| 65 | bool "Support IDE controllers" |
Adam Ford | 1811a92 | 2018-02-06 12:43:56 -0600 | [diff] [blame] | 66 | select HAVE_BLOCK_DEVICE |
Simon Glass | fc843a0 | 2017-05-17 03:25:30 -0600 | [diff] [blame] | 67 | help |
| 68 | Enables support for IDE (Integrated Drive Electronics) hard drives. |
| 69 | This allows access to raw blocks and filesystems on an IDE drive |
| 70 | from U-Boot. See also CMD_IDE which provides an 'ide' command for |
| 71 | performing various IDE operations. |