From e6aebc13f81012fea8ed9d98bdd1d106b75ad56f Mon Sep 17 00:00:00 2001 From: Han Xu Date: Fri, 12 Jul 2019 15:52:46 -0500 Subject: [PATCH] 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 (cherry picked from commit dbe3763931e536cba4925fdd04fda39cc748fc1c) --- cmd/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 41de838..300d800 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2063,6 +2063,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 -- 1.9.1