summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2020-03-23 19:20:47 +0100
committerHeiko Schocher <hs@denx.de>2020-04-20 06:34:56 +0200
commit83f7078b688528f1f5c117e404c056e048970012 (patch)
treeed5d6e05bc24e14bad7300fcc2389ab5ea4c7969 /cmd/Kconfig
parent8d5d3bcf3c53d798bd7f3fe7092e994593bcc41c (diff)
cmd: ubi: add a command to rename volume
This commit adds the command ubi rename to rename an ubi volume. The format of the command is: ubi rename <oldname> <newname>. To enable this command, the option CMD_UBI_RENAME must be selected. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index faa133da65..1c9634df3b 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2173,6 +2173,14 @@ config CMD_UBI
It is also strongly encouraged to also enable CONFIG_MTD to get full
partition support.
+config CMD_UBI_RENAME
+ bool "Enable rename"
+ depends on CMD_UBI
+ default n
+ help
+ Enable a "ubi" command to rename ubi volume:
+ ubi rename <oldname> <newname>
+
config CMD_UBIFS
tristate "Enable UBIFS - Unsorted block images filesystem commands"
depends on CMD_UBI