mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
a219639d42
This started as 'ahci' and was renamed to 'disk' during code review. But it seems that this is too generic. Now that we have a 'blk' uclass, we can use that as the generic piece, and revert to ahci for this. Signed-off-by: Simon Glass <sjg@chromium.org>
28 lines
1 KiB
Text
28 lines
1 KiB
Text
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 AHCI
|
|
bool "Support SATA controllers with driver model"
|
|
depends on 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.
|
|
|
|
config BLOCK_CACHE
|
|
bool "Use block device cache"
|
|
default n
|
|
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.
|