From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 7 Jul 2009 16:46:08 +0200 Subject: [U-Boot] [PATCH 7/8]: Handle VID header offset in ubi part command In-Reply-To: <20090707160030.066c592b@marrow.netinsight.se> References: <20090707155510.58ae70bb@marrow.netinsight.se> <20090707160030.066c592b@marrow.netinsight.se> Message-ID: <200907071646.08250.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 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 =====================================================================