summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2019-07-12 15:52:46 -0500
committerYe Li <ye.li@nxp.com>2022-04-06 18:02:53 +0800
commitf1baf8daeec8aa2c9d56675c697bb5c63fb67cf9 (patch)
tree8d9eda2b56baefe077b7d33adf66d67f3f9444b9 /cmd
parent7d4eaf9247db7a668ff9f4497eb7cdfe21e51e2a (diff)
MLK-22259-1: cmd: Kconfig: add new option CONFIG_MTDPARTS_SKIP_INVALID
add a new option in mtdparts to skip the invalid devices rather than just quit Signed-off-by: Han Xu <han.xu@nxp.com> (cherry picked from commit dbe3763931e536cba4925fdd04fda39cc748fc1c) (cherry picked from commit e6aebc13f81012fea8ed9d98bdd1d106b75ad56f) (cherry picked from commit 43a785a0e336342f1d54901c291dc63460a38c75)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 5e25e45fd2..e9ab53d30f 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2290,6 +2290,12 @@ config MTDPARTS_DEFAULT
Defines a default MTD partitioning scheme in the Linux MTD command
line partitions format
+config MTDPARTS_SKIP_INVALID
+ bool "Skip invalid devices and keep checking the next one"
+ depends on CMD_MTDPARTS
+ help
+ Enable this feature will look for next device rather than quit.
+
config CMD_REISER
bool "reiser - Access to reiserfs filesystems"
help