checkpatch.pl: Request a test when a new command is added
[oweals/u-boot.git] / drivers / block / Kconfig
index 0792373cfc48b0960098c06743ab75f7210fb5bd..1e6dad86927f5db870cd7b9e9dd42173206d9db9 100644 (file)
@@ -27,6 +27,18 @@ config SPL_BLK
          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
@@ -37,6 +49,20 @@ config BLOCK_CACHE
          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 TPL_BLOCK_CACHE
+       bool "Use block device cache in TPL"
+       depends on TPL_BLK
+       default n
+       help
+         This option enables the disk-block cache in TPL
+
 config IDE
        bool "Support IDE controllers"
        select HAVE_BLOCK_DEVICE