Simon Glass | cceee55 | 2016-02-29 15:25:55 -0700 | [diff] [blame] | 1 | config BLK |
| 2 | bool "Support block devices" |
| 3 | depends on DM |
Simon Glass | 7b8492e | 2016-10-01 14:43:18 -0600 | [diff] [blame] | 4 | default y if DM_MMC |
Simon Glass | cceee55 | 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 | b10ba90 | 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 | 5f4bd8c | 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 | |
Eric Nelson | faf4f05 | 2016-03-28 10:05:44 -0700 | [diff] [blame] | 30 | config BLOCK_CACHE |
| 31 | bool "Use block device cache" |
| 32 | default n |
| 33 | help |
| 34 | This option enables a disk-block cache for all block devices. |
| 35 | This is most useful when accessing filesystems under U-Boot since |
| 36 | it will prevent repeated reads from directory structures and other |
| 37 | filesystem data structures. |
Michal Simek | c886f35 | 2016-09-08 15:06:45 +0200 | [diff] [blame] | 38 | |
Simon Glass | b569a01 | 2017-05-17 03:25:30 -0600 | [diff] [blame] | 39 | config IDE |
| 40 | bool "Support IDE controllers" |
Adam Ford | b10ba90 | 2018-02-06 12:43:56 -0600 | [diff] [blame^] | 41 | select HAVE_BLOCK_DEVICE |
Simon Glass | b569a01 | 2017-05-17 03:25:30 -0600 | [diff] [blame] | 42 | help |
| 43 | Enables support for IDE (Integrated Drive Electronics) hard drives. |
| 44 | This allows access to raw blocks and filesystems on an IDE drive |
| 45 | from U-Boot. See also CMD_IDE which provides an 'ide' command for |
| 46 | performing various IDE operations. |
Tom Rini | 91d417b | 2018-02-08 13:49:48 -0500 | [diff] [blame] | 47 | |
| 48 | config SYSTEMACE |
| 49 | bool "Xilinx SystemACE support" |
Adam Ford | b10ba90 | 2018-02-06 12:43:56 -0600 | [diff] [blame^] | 50 | select HAVE_BLOCK_DEVICE |
Tom Rini | 91d417b | 2018-02-08 13:49:48 -0500 | [diff] [blame] | 51 | help |
| 52 | Adding this option adds support for Xilinx SystemACE chips attached |
| 53 | via some sort of local bus. The address of the chip must also be |
| 54 | defined in the CONFIG_SYS_SYSTEMACE_BASE macro. |
| 55 | |
| 56 | When SystemACE support is added, the "ace" device type becomes |
| 57 | available to the fat commands, i.e. fatls. |
| 58 | |
| 59 | config SYS_SYSTEMACE_BASE |
| 60 | hex "Base address of SystemACE chip" |
| 61 | depends on SYSTEMACE |
| 62 | |
| 63 | config SYS_SYSTEMACE_WIDTH |
| 64 | int "Word size of access to the of SystemACE chip" |
| 65 | depends on SYSTEMACE |