cmd: mtdparts: Kconfig: join mtdparts command entry with its options
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Oct 2019 17:50:25 +0000 (19:50 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2019 22:10:51 +0000 (17:10 -0500)
Move the Kconfig entry of the option right after the entry of the
mtdparts command.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
cmd/Kconfig

index 29df088c3ef50c207f2446107efd1e4a40b44196..46f1dd2462a75dcb01ace897e1dbb5e003b7bb6b 100644 (file)
@@ -1962,20 +1962,6 @@ config CMD_MTDPARTS
          declare the partitions in the mtdparts environment variable
          but better use the MTD stack and the 'mtd' command instead.
 
-config MTDIDS_DEFAULT
-       string "Default MTD IDs"
-       depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
-       help
-         Defines a default MTD IDs list for use with MTD partitions in the
-         Linux MTD command line partitions format.
-
-config MTDPARTS_DEFAULT
-       string "Default MTD partition scheme"
-       depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
-       help
-         Defines a default MTD partitioning scheme in the Linux MTD command
-         line partitions format
-
 config CMD_MTDPARTS_SPREAD
        bool "Padd partition size to take account of bad blocks"
        depends on CMD_MTDPARTS
@@ -1994,6 +1980,20 @@ config CMD_MTDPARTS_SHOW_NET_SIZES
          effective usable size of a partition, if bad blocks are taken
          into account.
 
+config MTDIDS_DEFAULT
+       string "Default MTD IDs"
+       depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
+       help
+         Defines a default MTD IDs list for use with MTD partitions in the
+         Linux MTD command line partitions format.
+
+config MTDPARTS_DEFAULT
+       string "Default MTD partition scheme"
+       depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
+       help
+         Defines a default MTD partitioning scheme in the Linux MTD command
+         line partitions format
+
 config CMD_REISER
        bool "reiser - Access to reiserfs filesystems"
        help