]> git.sur5r.net Git - u-boot/blobdiff - drivers/block/Kconfig
mtd: nand: mxs_nand: use self init
[u-boot] / drivers / block / Kconfig
index 26760895f99dd53370f9077f5b7213a1a6f241fe..0792373cfc48b0960098c06743ab75f7210fb5bd 100644 (file)
@@ -10,6 +10,11 @@ config BLK
          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
@@ -24,7 +29,8 @@ config SPL_BLK
 
 config BLOCK_CACHE
        bool "Use block device cache"
-       default n
+       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
@@ -33,6 +39,7 @@ config BLOCK_CACHE
 
 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