X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fblock%2FKconfig;h=33f4aa24185447663529cc461347fb0bc27f01a7;hb=3d5ced9e22d32112a20f9dc0f5fb1f22ef088079;hp=990f768adbaffa19bf6a94f3b68570aa6c407954;hpb=9c3193f8d03d4074fa6ca6b783246b97d8dc2ff5;p=platform%2Fkernel%2Fu-boot.git diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 990f768..33f4aa2 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -1,9 +1,66 @@ -config DISK - bool "Support disk controllers with driver model" +config BLK + bool "Support block devices" depends on DM - default y if DM + default y if DM_MMC 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. + 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 HAVE_BLOCK_DEVICE + bool "Enable Legacy Block Device" + help + 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 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 + 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" + depends on BLK + default y + 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. + +config SPL_BLOCK_CACHE + bool "Use block device cache in SPL" + depends on SPL_BLK + default n + help + This option enables the disk-block cache in SPL + +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.