Commit e6aebc13f81012fea8ed9d98bdd1d106b75ad56f

Authored by Han Xu
Committed by Ye Li
1 parent c5469efd6c

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)

Showing 1 changed file with 6 additions and 0 deletions Side-by-side Diff

... ... @@ -2063,6 +2063,12 @@
2063 2063 Defines a default MTD partitioning scheme in the Linux MTD command
2064 2064 line partitions format
2065 2065  
  2066 +config MTDPARTS_SKIP_INVALID
  2067 + bool "Skip invalid devices and keep checking the next one"
  2068 + depends on CMD_MTDPARTS
  2069 + help
  2070 + Enable this feature will look for next device rather than quit.
  2071 +
2066 2072 config CMD_REISER
2067 2073 bool "reiser - Access to reiserfs filesystems"
2068 2074 help