X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fblock%2FKconfig;h=15fd1bcb2b7e4effcd2d111bc966d29a68e16b94;hb=10cd229ec0d149b47a2ff3f132de7db4b6c1b13d;hp=80eea84dc29731c96a48a2fd8814cd511375806b;hpb=a219639d4216e59a0c55f0b7d2c8a21f9cb0bb06;p=u-boot diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 80eea84dc2..15fd1bcb2b 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -1,6 +1,7 @@ config BLK bool "Support block devices" depends on DM + default y if DM_MMC help Enable support for block devices, such as SCSI, MMC and USB flash sticks. These provide a block-level interface which permits @@ -9,14 +10,22 @@ config BLK 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 +config HAVE_BLOCK_DEVICE + bool "Enable Legacy Block Device" 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. + Some devices require block support whether or not DM is enabled + +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 + 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 BLOCK_CACHE bool "Use block device cache" @@ -26,3 +35,12 @@ config BLOCK_CACHE This is most useful when accessing filesystems under U-Boot since it will prevent repeated reads from directory structures and other filesystem data structures. + +config IDE + bool "Support IDE controllers" + select HAVE_BLOCK_DEVICE + 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.