[PATCH 1/3] MTD Utils. Allow hex argument in nandwrite

Jörn Engel joern at wohnheim.fh-wedel.de
Tue May 2 13:14:32 EDT 2006


On Tue, 2 May 2006 12:54:46 -0400, Steve Finney wrote:
> 
> +                       mtdoffset = strtol (optarg, NULL, 0);

How about doing something similar to block2mtd?
http://git.infradead.org/?p=users/joern/mtd-2.6.git;a=blob;h=f54e4bf9b968f153400312a74689f7028650b5d4;hb=954c24227318c166ec1925e1229db442e1f56f51;f=drivers/mtd/devices/block2mtd.c#l354

Jörn

-- 
Why do musicians compose symphonies and poets write poems?
They do it because life wouldn't have any meaning for them if they didn't.
That's why I draw cartoons.  It's my life.
-- Charles Shultz




More information about the linux-mtd mailing list