From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ey0-f177.google.com ([209.85.215.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QToUV-0001hT-1I for linux-mtd@lists.infradead.org; Tue, 07 Jun 2011 05:06:11 +0000 Received: by mail-ey0-f177.google.com with SMTP id 6so1939206eyh.36 for ; Mon, 06 Jun 2011 22:06:10 -0700 (PDT) Subject: Re: [PATCH 1/4] flash_info: convert to common.h From: Artem Bityutskiy To: Mike Frysinger In-Reply-To: References: <1307384537-9607-1-git-send-email-vapier@gentoo.org> <1307421064.11104.7.camel@localhost> <1307421760.11104.16.camel@localhost> <1307421938.11104.17.camel@localhost> Content-Type: text/plain; charset="UTF-8" Date: Tue, 07 Jun 2011 08:01:54 +0300 Message-ID: <1307422914.11104.22.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: linux-mtd@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2011-06-07 at 00:51 -0400, Mike Frysinger wrote: > On Tue, Jun 7, 2011 at 00:45, Artem Bityutskiy wrote: > > On Tue, 2011-06-07 at 07:42 +0300, Artem Bityutskiy wrote: > >> On Tue, 2011-06-07 at 00:41 -0400, Mike Frysinger wrote: > >> > On Tue, Jun 7, 2011 at 00:31, Artem Bityutskiy wrote: > >> > > On Mon, 2011-06-06 at 14:22 -0400, Mike Frysinger wrote: > >> > >> Signed-off-by: Mike Frysinger > >> > >> --- > >> > >> flash_info.c | 27 +++++++++++++++++---------- > >> > >> 1 files changed, 17 insertions(+), 10 deletions(-) > >> > > > >> > > How about killing this utility completely and use mtdinfo from ubi-utils > >> > > instead? Yes, before creating mtdinfo I should have noticed flash_info, > >> > > but I did not. Did you look at mtdinfo? > >> > > >> > didnt even notice it :P > >> > > >> > if mtdinfo provides all the details that my new flash_info does, then > >> > i dont care about punting it. be nice to merge my fixes before > >> > deleting it though, otherwise i feel like i wasted quite a bit of time > >> > for nothing ;). > >> > >> I think it provides everything except of region information, which > >> flash_info provides :) > > > > And it does not show a map of sectors. May be we can add this to mtdinfo > > instead? > > if you merge the patches i posted here, i'll see about extending > mtdinfo to include the new functionality and then i'll post another > patch to punt flash_info ;). Sure, thanks, I've sent you some feed-back for the last patch, though. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)