blob: 0792373cfc48b0960098c06743ab75f7210fb5bd [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
Adam Ford1811a922018-02-06 12:43:56 -060013config 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 Glassc4d660d2017-07-04 13:31:19 -060018config 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 Nelsone40cf342016-03-28 10:05:44 -070030config BLOCK_CACHE
31 bool "Use block device cache"
Tom Rini46960ad2018-05-22 12:24:16 -040032 depends on BLK
33 default y
Eric Nelsone40cf342016-03-28 10:05:44 -070034 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 Simeke8a016b2016-09-08 15:06:45 +020039
Simon Glassfc843a02017-05-17 03:25:30 -060040config IDE
41 bool "Support IDE controllers"
Adam Ford1811a922018-02-06 12:43:56 -060042 select HAVE_BLOCK_DEVICE
Simon Glassfc843a02017-05-17 03:25:30 -060043 help
44 Enables support for IDE (Integrated Drive Electronics) hard drives.
45 This allows access to raw blocks and filesystems on an IDE drive
46 from U-Boot. See also CMD_IDE which provides an 'ide' command for
47 performing various IDE operations.