09d71aac7b
Add a uclass for block devices. These provide block-oriented data access, supporting reading, writing and erasing of whole blocks. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>
21 lines
786 B
Plaintext
21 lines
786 B
Plaintext
config BLK
|
|
bool "Support block devices"
|
|
depends on DM
|
|
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.
|
|
|
|
config DISK
|
|
bool "Support disk controllers with driver model"
|
|
depends on DM
|
|
default y if DM
|
|
help
|
|
This enables a uclass for disk controllers in U-Boot. Various driver
|
|
types can use this, such as AHCI/SATA. It does not provide any standard
|
|
operations at present. The block device interface has not been converted
|
|
to driver model.
|