[Patch] Support large devices for flash_eraseaal

Artem Bityutskiy dedekind at infradead.org
Tue Jul 7 12:29:45 EDT 2009


On Tue, 2009-07-07 at 18:25 +0200, Jörn Engel wrote:
> On Tue, 7 July 2009 18:22:32 +0200, Jörn Engel wrote:
> > 
> > +static int get_info(const char *devname, struct mtd_info_user64 *mtd64)
> > +static int do_erase(int fd, struct erase_info_user64 *ei64, struct mtd_info_user64 *mtd64)
> 
> Thinking about it, these two functions probably ought to go into a
> library of some sorts.  I just used flash_eraseall as a proof-of-concept
> test program, so my interest in this area is exhausted.  But maybe
> someone else feels young and energetic. :)

In ubi-utils I created libmtd library. It can be used in other
places as well.

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




More information about the linux-mtd mailing list