xref: /openbmc/u-boot/drivers/block/Kconfig (revision 3991f42e)
1config BLK
2	bool "Support block devices"
3	depends on DM
4	default y if DM_MMC
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
13config SPL_BLK
14	bool "Support block devices in SPL"
15	depends on SPL_DM && BLK
16	default y
17	help
18	  Enable support for block devices, such as SCSI, MMC and USB
19	  flash sticks. These provide a block-level interface which permits
20	  reading, writing and (in some cases) erasing blocks. Block
21	  devices often have a partition table which allows the device to
22	  be partitioned into several areas, called 'partitions' in U-Boot.
23	  A filesystem can be placed in each partition.
24
25config BLOCK_CACHE
26	bool "Use block device cache"
27	default n
28	help
29	  This option enables a disk-block cache for all block devices.
30	  This is most useful when accessing filesystems under U-Boot since
31	  it will prevent repeated reads from directory structures and other
32	  filesystem data structures.
33
34config IDE
35	bool "Support IDE controllers"
36	help
37	  Enables support for IDE (Integrated Drive Electronics) hard drives.
38	  This allows access to raw blocks and filesystems on an IDE drive
39	  from U-Boot. See also CMD_IDE which provides an 'ide' command for
40	  performing various IDE operations.
41