[U-Boot] [PATCH] ubi: Remove flash selection parameter (nor|nand|onenand) from "ubi part"

Wolfgang Denk
2009-04-27T23:13:04Z

Dear Stefan Roese,

In message <1240581619-746-1-git-send-email-sr@denx.de> you wrote:
> 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 | 73 +++++++++++++++++++----------------------------------
> 1 files changed, 26 insertions(+), 47 deletions(-)

Appied, thanks.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The use of COBOL cripples the mind; its teaching should, therefore,
be regarded as a criminal offence.
-- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5