]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ubi: Remove flash selection parameter (nor|nand|onenand) from "ubi part"
authorStefan Roese <sr@denx.de>
Fri, 24 Apr 2009 18:24:19 +0000 (20:24 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Apr 2009 23:15:35 +0000 (01:15 +0200)
commit2d579e5060413af5a740cb396dc87e1ff31bf5a9
tree72bfd87071fd28122996ec515838a5bb9259fc05
parent294f10ca9ea82a15e135dcb0fc658382ab206940
ubi: Remove flash selection parameter (nor|nand|onenand) from "ubi part"

This patch removes the now unnecessary flash type parameter from the
"ubi part" command. Currently the user has to define the type of flash
he will be using UBI on. Example:

=> ubi part nor partition1

With this patch this type parameter is not needed anymore. The user can
now select the partition directly without the flash type paramter.
Example:

=> ubi part partition1

This breaks backward compatibility right now because of the change in the
command syntax. But UBI support is still quite fresh and the advantage of
this new command is syntax big enough for this change. Additionally the
code is much cleaner now.

Signed-off-by: Stefan Roese <sr@denx.de>
CC: Kyungmin Park <kyungmin.park@samsung.com>
common/cmd_ubi.c