2016-02-29 22:25:55 +00:00
|
|
|
config BLK
|
|
|
|
bool "Support block devices"
|
|
|
|
depends on DM
|
2021-07-09 14:11:56 +00:00
|
|
|
default y if DM_MMC || DM_USB
|
2016-02-29 22:25:55 +00:00
|
|
|
help
|
|
|
|
Enable support for block devices, such as SCSI, MMC and USB
|
|
|
|
flash sticks. These provide a block-level interface which permits
|
|
|
|
reading, writing and (in some cases) erasing blocks. Block
|
|
|
|
devices often have a partition table which allows the device to
|
|
|
|
be partitioned into several areas, called 'partitions' in U-Boot.
|
|
|
|
A filesystem can be placed in each partition.
|
|
|
|
|
2018-02-06 18:43:56 +00:00
|
|
|
config HAVE_BLOCK_DEVICE
|
|
|
|
bool "Enable Legacy Block Device"
|
|
|
|
help
|
|
|
|
Some devices require block support whether or not DM is enabled
|
|
|
|
|
2017-07-04 19:31:19 +00:00
|
|
|
config SPL_BLK
|
|
|
|
bool "Support block devices in SPL"
|
|
|
|
depends on SPL_DM && BLK
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable support for block devices, such as SCSI, MMC and USB
|
|
|
|
flash sticks. These provide a block-level interface which permits
|
|
|
|
reading, writing and (in some cases) erasing blocks. Block
|
2018-10-01 18:22:13 +00:00
|
|
|
devices often have a partition table which allows the device to
|
|
|
|
be partitioned into several areas, called 'partitions' in U-Boot.
|
|
|
|
A filesystem can be placed in each partition.
|
|
|
|
|
|
|
|
config TPL_BLK
|
|
|
|
bool "Support block devices in TPL"
|
|
|
|
depends on TPL_DM && BLK
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable support for block devices, such as SCSI, MMC and USB
|
|
|
|
flash sticks. These provide a block-level interface which permits
|
|
|
|
reading, writing and (in some cases) erasing blocks. Block
|
2017-07-04 19:31:19 +00:00
|
|
|
devices often have a partition table which allows the device to
|
|
|
|
be partitioned into several areas, called 'partitions' in U-Boot.
|
|
|
|
A filesystem can be placed in each partition.
|
|
|
|
|
2016-03-28 17:05:44 +00:00
|
|
|
config BLOCK_CACHE
|
|
|
|
bool "Use block device cache"
|
2018-05-22 16:24:16 +00:00
|
|
|
depends on BLK
|
|
|
|
default y
|
2016-03-28 17:05:44 +00:00
|
|
|
help
|
|
|
|
This option enables a disk-block cache for all block devices.
|
|
|
|
This is most useful when accessing filesystems under U-Boot since
|
|
|
|
it will prevent repeated reads from directory structures and other
|
|
|
|
filesystem data structures.
|
2016-09-08 13:06:45 +00:00
|
|
|
|
2018-06-11 22:17:48 +00:00
|
|
|
config SPL_BLOCK_CACHE
|
|
|
|
bool "Use block device cache in SPL"
|
|
|
|
depends on SPL_BLK
|
|
|
|
help
|
|
|
|
This option enables the disk-block cache in SPL
|
|
|
|
|
2019-05-18 17:59:53 +00:00
|
|
|
config TPL_BLOCK_CACHE
|
|
|
|
bool "Use block device cache in TPL"
|
|
|
|
depends on TPL_BLK
|
|
|
|
help
|
|
|
|
This option enables the disk-block cache in TPL
|
|
|
|
|
2021-12-04 15:56:31 +00:00
|
|
|
config EFI_MEDIA
|
|
|
|
bool "Support EFI media drivers"
|
|
|
|
default y if EFI || SANDBOX
|
|
|
|
help
|
|
|
|
Enable this to support media devices on top of UEFI. This enables
|
|
|
|
just the uclass so you also need a specific driver to make this do
|
|
|
|
anything.
|
|
|
|
|
|
|
|
For sandbox there is a test driver.
|
|
|
|
|
|
|
|
if EFI_MEDIA
|
|
|
|
|
|
|
|
config EFI_MEDIA_SANDBOX
|
|
|
|
bool "Sandbox EFI media driver"
|
|
|
|
depends on SANDBOX
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enables a simple sandbox media driver, used for testing just the
|
|
|
|
EFI_MEDIA uclass. It does not do anything useful, since sandbox does
|
|
|
|
not actually support running on top of UEFI.
|
|
|
|
|
2021-12-04 15:56:32 +00:00
|
|
|
config EFI_MEDIA_BLK
|
|
|
|
bool "EFI media block driver"
|
|
|
|
depends on EFI_APP
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enables a block driver for providing access to UEFI devices. This
|
|
|
|
allows use of block devices detected by the underlying UEFI
|
|
|
|
implementation. With this it is possible to use filesystems on these
|
|
|
|
devices, for example.
|
|
|
|
|
2021-12-04 15:56:31 +00:00
|
|
|
endif # EFI_MEDIA
|
|
|
|
|
2017-05-17 09:25:30 +00:00
|
|
|
config IDE
|
|
|
|
bool "Support IDE controllers"
|
2018-02-06 18:43:56 +00:00
|
|
|
select HAVE_BLOCK_DEVICE
|
2017-05-17 09:25:30 +00:00
|
|
|
help
|
|
|
|
Enables support for IDE (Integrated Drive Electronics) hard drives.
|
|
|
|
This allows access to raw blocks and filesystems on an IDE drive
|
|
|
|
from U-Boot. See also CMD_IDE which provides an 'ide' command for
|
|
|
|
performing various IDE operations.
|