blob: 1e6dad86927f5db870cd7b9e9dd42173206d9db9 [file] [log] [blame]
Simon Glasscceee552016-02-29 15:25:55 -07001config BLK
2 bool "Support block devices"
3 depends on DM
Simon Glass7b8492e2016-10-01 14:43:18 -06004 default y if DM_MMC
Simon Glasscceee552016-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 Fordb10ba902018-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 Glass5f4bd8c2017-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
Simon Glassa19f7302018-10-01 12:22:13 -060030config 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 Nelsonfaf4f052016-03-28 10:05:44 -070042config BLOCK_CACHE
43 bool "Use block device cache"
Tom Rini587a09e2018-05-22 12:24:16 -040044 depends on BLK
45 default y
Eric Nelsonfaf4f052016-03-28 10:05:44 -070046 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 Simekc886f352016-09-08 15:06:45 +020051
Adam Fordd693fb92018-06-11 17:17:48 -050052config SPL_BLOCK_CACHE
53 bool "Use block device cache in SPL"
54 depends on SPL_BLK
55 default n
56 help
57 This option enables the disk-block cache in SPL
58
Simon Glassbfd48442019-05-18 11:59:53 -060059config TPL_BLOCK_CACHE
60 bool "Use block device cache in TPL"
61 depends on TPL_BLK
62 default n
63 help
64 This option enables the disk-block cache in TPL
65
Simon Glassb569a012017-05-17 03:25:30 -060066config IDE
67 bool "Support IDE controllers"
Adam Fordb10ba902018-02-06 12:43:56 -060068 select HAVE_BLOCK_DEVICE
Simon Glassb569a012017-05-17 03:25:30 -060069 help
70 Enables support for IDE (Integrated Drive Electronics) hard drives.
71 This allows access to raw blocks and filesystems on an IDE drive
72 from U-Boot. See also CMD_IDE which provides an 'ide' command for
73 performing various IDE operations.