]> git.sur5r.net Git - u-boot/blobdiff - cmd/Kconfig
Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig
[u-boot] / cmd / Kconfig
index 67890c7f8ebd83bda19de809722c2d820e9f269d..4d89af4a819ef3430c888745bdcc83d3adf08ad3 100644 (file)
@@ -1230,6 +1230,16 @@ config MTDPARTS_DEFAULT
          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
+       help
+         This enables the 'spread' sub-command of the mtdparts command.
+         This command will modify the existing mtdparts variable by increasing
+         the size of the partitions such that 1) each partition's net size is
+         at least as large as the size specified in the mtdparts variable and
+         2) each partition starts on a good block.
+
 endmenu
 
 menu "Debug commands"