[U-Boot] [PATCH 7/8]: Handle VID header offset in ubi part command

Stefan Roese sr at denx.de
Tue Jul 7 16:46:08 CEST 2009


On Tuesday 07 July 2009 16:00:30 Simon Kagstrom wrote:
> The VID header offset is sometimes needed to initialize the UBI
> partition. This patch adds it (optionally) to the command line
> for the ubi part command.
>
> Signed-off-by: Simon Kagstrom <simon.kagstrom at netinsight.net>
> ---
>  common/cmd_ubi.c |   17 ++++++++++++-----
>  1 files changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c
> index bbca389..cd9493f 100644
> --- a/common/cmd_ubi.c
> +++ b/common/cmd_ubi.c
> @@ -395,11 +395,12 @@ static int ubi_volume_read(char *volume, char *buf,
> size_t size) return err ? err : count_save - size;
>  }
>
> -static int ubi_dev_scan(struct mtd_info *info, char *ubidev)
> +static int ubi_dev_scan(struct mtd_info *info, char *ubidev, const char *vid_header_offset) {

Line too long. Please re-check the patch for other such occurrences
and resubmit.

Other than this:

Acked-by: Stefan Roese <sr at denx.de>

Thank.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list