[PATCH 4/4] flash_info: display MEMGETINFO and MEMISLOCKED

Artem Bityutskiy dedekind1 at gmail.com
Tue Jun 7 01:18:07 EDT 2011


On Tue, 2011-06-07 at 01:14 -0400, Mike Frysinger wrote:
> On Tue, Jun 7, 2011 at 01:01, Artem Bityutskiy wrote:
> > On Mon, 2011-06-06 at 14:22 -0400, Mike Frysinger wrote:
> >> I found the existing flash_info output to be a little lacking, so
> >> add decoders for MEMGETINFO and MEMISLOCKED.
> >>
> >> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> >> ---
> >>  flash_info.c |   98 +++++++++++++++++++++++++++++++++++++++++++++++++++------
> >>  1 files changed, 87 insertions(+), 11 deletions(-)
> >
> > Pushed patches 1-3.
> >
> > WRT this patch - I think the sector map should be a separate option,
> > because it outputs too much for a default option.
> 
> i'm adding regioninfo(-r)/sectormap(-s) as options to mtdinfo so users
> get the extended info only when they ask for it

Region info is probably not worth a separate option - I do not believe
there are flashes with more than 2-3 of them.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list