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 131811a928SAdam Fordconfig HAVE_BLOCK_DEVICE 141811a928SAdam Ford bool "Enable Legacy Block Device" 151811a928SAdam Ford help 161811a928SAdam Ford Some devices require block support whether or not DM is enabled 171811a928SAdam Ford 18c4d660d4SSimon Glassconfig SPL_BLK 19c4d660d4SSimon Glass bool "Support block devices in SPL" 20c4d660d4SSimon Glass depends on SPL_DM && BLK 21c4d660d4SSimon Glass default y 22c4d660d4SSimon Glass help 23c4d660d4SSimon Glass Enable support for block devices, such as SCSI, MMC and USB 24c4d660d4SSimon Glass flash sticks. These provide a block-level interface which permits 25c4d660d4SSimon Glass reading, writing and (in some cases) erasing blocks. Block 26c4d660d4SSimon Glass devices often have a partition table which allows the device to 27c4d660d4SSimon Glass be partitioned into several areas, called 'partitions' in U-Boot. 28c4d660d4SSimon Glass A filesystem can be placed in each partition. 29c4d660d4SSimon Glass 30*ef391515SSimon Glassconfig TPL_BLK 31*ef391515SSimon Glass bool "Support block devices in TPL" 32*ef391515SSimon Glass depends on TPL_DM && BLK 33*ef391515SSimon Glass default y 34*ef391515SSimon Glass help 35*ef391515SSimon Glass Enable support for block devices, such as SCSI, MMC and USB 36*ef391515SSimon Glass flash sticks. These provide a block-level interface which permits 37*ef391515SSimon Glass reading, writing and (in some cases) erasing blocks. Block 38*ef391515SSimon Glass devices often have a partition table which allows the device to 39*ef391515SSimon Glass be partitioned into several areas, called 'partitions' in U-Boot. 40*ef391515SSimon Glass A filesystem can be placed in each partition. 41*ef391515SSimon Glass 42e40cf34aSEric Nelsonconfig BLOCK_CACHE 43e40cf34aSEric Nelson bool "Use block device cache" 4446960ad6STom Rini depends on BLK 4546960ad6STom Rini default y 46e40cf34aSEric Nelson help 47e40cf34aSEric Nelson This option enables a disk-block cache for all block devices. 48e40cf34aSEric Nelson This is most useful when accessing filesystems under U-Boot since 49e40cf34aSEric Nelson it will prevent repeated reads from directory structures and other 50e40cf34aSEric Nelson filesystem data structures. 51e8a016b5SMichal Simek 526fef62ccSAdam Fordconfig SPL_BLOCK_CACHE 536fef62ccSAdam Ford bool "Use block device cache in SPL" 546fef62ccSAdam Ford depends on SPL_BLK 556fef62ccSAdam Ford default n 566fef62ccSAdam Ford help 576fef62ccSAdam Ford This option enables the disk-block cache in SPL 586fef62ccSAdam Ford 59fc843a02SSimon Glassconfig IDE 60fc843a02SSimon Glass bool "Support IDE controllers" 611811a928SAdam Ford select HAVE_BLOCK_DEVICE 62fc843a02SSimon Glass help 63fc843a02SSimon Glass Enables support for IDE (Integrated Drive Electronics) hard drives. 64fc843a02SSimon Glass This allows access to raw blocks and filesystems on an IDE drive 65fc843a02SSimon Glass from U-Boot. See also CMD_IDE which provides an 'ide' command for 66fc843a02SSimon Glass performing various IDE operations. 67