xref: /rk3399_rockchip-uboot/drivers/block/Kconfig (revision 47f7fd3a52c9b101b52781855edb8b4350b38e12)
109d71aacSSimon Glassconfig BLK
209d71aacSSimon Glass	bool "Support block devices"
309d71aacSSimon Glass	depends on DM
4896a74f6SSimon Glass	default y if DM_MMC
509d71aacSSimon Glass	help
609d71aacSSimon Glass	  Enable support for block devices, such as SCSI, MMC and USB
709d71aacSSimon Glass	  flash sticks. These provide a block-level interface which permits
809d71aacSSimon Glass	  reading, writing and (in some cases) erasing blocks. Block
909d71aacSSimon Glass	  devices often have a partition table which allows the device to
1009d71aacSSimon Glass	  be partitioned into several areas, called 'partitions' in U-Boot.
1109d71aacSSimon Glass	  A filesystem can be placed in each partition.
1209d71aacSSimon Glass
13c4d660d4SSimon Glassconfig SPL_BLK
14c4d660d4SSimon Glass	bool "Support block devices in SPL"
15c4d660d4SSimon Glass	depends on SPL_DM && BLK
16c4d660d4SSimon Glass	default y
17c4d660d4SSimon Glass	help
18c4d660d4SSimon Glass	  Enable support for block devices, such as SCSI, MMC and USB
19c4d660d4SSimon Glass	  flash sticks. These provide a block-level interface which permits
20c4d660d4SSimon Glass	  reading, writing and (in some cases) erasing blocks. Block
21c4d660d4SSimon Glass	  devices often have a partition table which allows the device to
22c4d660d4SSimon Glass	  be partitioned into several areas, called 'partitions' in U-Boot.
23c4d660d4SSimon Glass	  A filesystem can be placed in each partition.
24c4d660d4SSimon Glass
25*47f7fd3aSJason Zhuconfig SPL_BLK_READ_PREPARE
26*47f7fd3aSJason Zhu	bool "Support block devices prepare to read data in SPL"
27*47f7fd3aSJason Zhu	depends on SPL_BLK
28*47f7fd3aSJason Zhu	help
29*47f7fd3aSJason Zhu	  Enable support for block devices to prefetch data. MMC and mtd_blk
30*47f7fd3aSJason Zhu	  devices can be attached to block devices. It is applied to prefetch
31*47f7fd3aSJason Zhu	  data in the background and the device run some other process in the
32*47f7fd3aSJason Zhu	  same time.
33*47f7fd3aSJason Zhu
34e40cf34aSEric Nelsonconfig BLOCK_CACHE
35e40cf34aSEric Nelson	bool "Use block device cache"
36e40cf34aSEric Nelson	default n
37e40cf34aSEric Nelson	help
38e40cf34aSEric Nelson	  This option enables a disk-block cache for all block devices.
39e40cf34aSEric Nelson	  This is most useful when accessing filesystems under U-Boot since
40e40cf34aSEric Nelson	  it will prevent repeated reads from directory structures and other
41e40cf34aSEric Nelson	  filesystem data structures.
42e8a016b5SMichal Simek
43fc843a02SSimon Glassconfig IDE
44fc843a02SSimon Glass	bool "Support IDE controllers"
45fc843a02SSimon Glass	help
46fc843a02SSimon Glass	  Enables support for IDE (Integrated Drive Electronics) hard drives.
47fc843a02SSimon Glass	  This allows access to raw blocks and filesystems on an IDE drive
48fc843a02SSimon Glass	  from U-Boot. See also CMD_IDE which provides an 'ide' command for
49fc843a02SSimon Glass	  performing various IDE operations.
50