xref: /OK3568_Linux_fs/u-boot/drivers/block/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BLK
2*4882a593Smuzhiyun	bool "Support block devices"
3*4882a593Smuzhiyun	depends on DM
4*4882a593Smuzhiyun	default y if DM_MMC
5*4882a593Smuzhiyun	help
6*4882a593Smuzhiyun	  Enable support for block devices, such as SCSI, MMC and USB
7*4882a593Smuzhiyun	  flash sticks. These provide a block-level interface which permits
8*4882a593Smuzhiyun	  reading, writing and (in some cases) erasing blocks. Block
9*4882a593Smuzhiyun	  devices often have a partition table which allows the device to
10*4882a593Smuzhiyun	  be partitioned into several areas, called 'partitions' in U-Boot.
11*4882a593Smuzhiyun	  A filesystem can be placed in each partition.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunconfig SPL_BLK
14*4882a593Smuzhiyun	bool "Support block devices in SPL"
15*4882a593Smuzhiyun	depends on SPL_DM && BLK
16*4882a593Smuzhiyun	default y
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun	  Enable support for block devices, such as SCSI, MMC and USB
19*4882a593Smuzhiyun	  flash sticks. These provide a block-level interface which permits
20*4882a593Smuzhiyun	  reading, writing and (in some cases) erasing blocks. Block
21*4882a593Smuzhiyun	  devices often have a partition table which allows the device to
22*4882a593Smuzhiyun	  be partitioned into several areas, called 'partitions' in U-Boot.
23*4882a593Smuzhiyun	  A filesystem can be placed in each partition.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig SPL_BLK_READ_PREPARE
26*4882a593Smuzhiyun	bool "Support block devices prepare to read data in SPL"
27*4882a593Smuzhiyun	depends on SPL_BLK
28*4882a593Smuzhiyun	help
29*4882a593Smuzhiyun	  Enable support for block devices to prefetch data. MMC and mtd_blk
30*4882a593Smuzhiyun	  devices can be attached to block devices. It is applied to prefetch
31*4882a593Smuzhiyun	  data in the background and the device run some other process in the
32*4882a593Smuzhiyun	  same time.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunconfig BLOCK_CACHE
35*4882a593Smuzhiyun	bool "Use block device cache"
36*4882a593Smuzhiyun	default n
37*4882a593Smuzhiyun	help
38*4882a593Smuzhiyun	  This option enables a disk-block cache for all block devices.
39*4882a593Smuzhiyun	  This is most useful when accessing filesystems under U-Boot since
40*4882a593Smuzhiyun	  it will prevent repeated reads from directory structures and other
41*4882a593Smuzhiyun	  filesystem data structures.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunconfig IDE
44*4882a593Smuzhiyun	bool "Support IDE controllers"
45*4882a593Smuzhiyun	help
46*4882a593Smuzhiyun	  Enables support for IDE (Integrated Drive Electronics) hard drives.
47*4882a593Smuzhiyun	  This allows access to raw blocks and filesystems on an IDE drive
48*4882a593Smuzhiyun	  from U-Boot. See also CMD_IDE which provides an 'ide' command for
49*4882a593Smuzhiyun	  performing various IDE operations.
50