diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-05 01:34:30 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-11 22:41:30 +0300 |
commit | cb70e6cb8d7a0278b7bcb399948efd4782e11565 (patch) | |
tree | 1fa2ab09168c81081517a8639fe3e462b63a4dea /cmd | |
parent | f38c5f526c4e8568da2d51712873b1788b9d69ec (diff) | |
download | u-boot-cb70e6cb8d7a0278b7bcb399948efd4782e11565.tar.xz |
Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig
This converts the following to Kconfig:
CONFIG_CMD_MTDPARTS_SPREAD
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
[trini: Make this a bool not a string]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 67890c7f8e..4d89af4a81 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -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" |