Browse Source

cmd: mtdparts: Kconfig: join mtdparts command entry with its options

Move the Kconfig entry of the option right after the entry of the
mtdparts command.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Miquel Raynal 4 years ago
parent
commit
587f44576e
1 changed files with 14 additions and 14 deletions
  1. 14 14
      cmd/Kconfig

+ 14 - 14
cmd/Kconfig

@@ -1962,20 +1962,6 @@ config CMD_MTDPARTS
 	  declare the partitions in the mtdparts environment variable
 	  declare the partitions in the mtdparts environment variable
 	  but better use the MTD stack and the 'mtd' command instead.
 	  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
 config CMD_MTDPARTS_SPREAD
 	bool "Padd partition size to take account of bad blocks"
 	bool "Padd partition size to take account of bad blocks"
 	depends on CMD_MTDPARTS
 	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
 	  effective usable size of a partition, if bad blocks are taken
 	  into account.
 	  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
 config CMD_REISER
 	bool "reiser - Access to reiserfs filesystems"
 	bool "reiser - Access to reiserfs filesystems"
 	help
 	help