Convert CONFIG_JFFS2_DEV et al to Kconfig
[platform/kernel/u-boot.git] / cmd / Kconfig
index 7747ab5..ef82f79 100644 (file)
@@ -2219,6 +2219,27 @@ config CMD_JFFS2
          provide the ability to load files, list directories and obtain
          filesystem information.
 
+config JFFS2_DEV
+       string "Default device for JFFS2"
+       depends on CMD_JFFS2
+       default "nor0"
+       help
+         The default device to use with the jffs2 command.
+
+config JFFS2_PART_OFFSET
+       hex "Default offset within flash to locate the JFFS2 image"
+       depends on CMD_JFFS2
+       default 0x0
+       help
+         The default offset within flash to locate the JFFS2 image.
+
+config JFFS2_PART_SIZE
+       hex "Default size of JFFS2 partition"
+       depends on CMD_JFFS2
+       default 0xFFFFFFFF
+       help
+         The default size of the JFFS2 partition
+
 config CMD_MTDPARTS
        bool "MTD partition support"
        depends on MTD