cmd: ubi: add a command to rename volume
authorPhilippe Reynes <philippe.reynes@softathome.com>
Mon, 23 Mar 2020 18:20:47 +0000 (19:20 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 20 Apr 2020 04:34:56 +0000 (06:34 +0200)
commit83f7078b688528f1f5c117e404c056e048970012
treeed5d6e05bc24e14bad7300fcc2389ab5ea4c7969
parent8d5d3bcf3c53d798bd7f3fe7092e994593bcc41c
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>
cmd/Kconfig
cmd/ubi.c