kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify...
[openwrt.git] / target / linux / generic / files / drivers / mtd / mtdsplit / Kconfig
index 09794f4..9a32daa 100644 (file)
@@ -1,7 +1,16 @@
+config MTD_SPLIT
+       def_bool n
+       help
+         Generic MTD split support.
+
+config MTD_SPLIT_SUPPORT
+       def_bool MTD = y
+
 comment "Rootfs partition parsers"
 
 config MTD_SPLIT_SQUASHFS_ROOT
        bool "Squashfs based root partition parser"
+       depends on MTD_SPLIT_SUPPORT
        select MTD_SPLIT
        default n
        help
@@ -13,12 +22,15 @@ comment "Firmware partition parsers"
 
 config MTD_SPLIT_SEAMA_FW
        bool "Seama firmware parser"
+       depends on MTD_SPLIT_SUPPORT
        select MTD_SPLIT
 
 config MTD_SPLIT_UIMAGE_FW
        bool "uImage based firmware partition parser"
+       depends on MTD_SPLIT_SUPPORT
        select MTD_SPLIT
 
 config MTD_SPLIT_LZMA_FW
        bool "LZMA compressed kernel based firmware partition parser"
+       depends on MTD_SPLIT_SUPPORT
        select MTD_SPLIT