[PATCH 1/3] mtd_debug: report ecc layout

Artem Bityutskiy dedekind1 at gmail.com
Wed Aug 17 04:03:39 EDT 2011


On Tue, 2011-08-09 at 16:57 -0400, Ben Gardiner wrote:
> The mtd_debug 'info' command reports a great deal of useful information about
> the mtd device is it given for a query.
> 
> Add the ECC size and OOB available to that list. The other entries in the
> ecclayout struct are arrays and are not as meaningful as eccsize and oobavail.
> 
> Signed-off-by: Ben Gardiner <bengardiner at nanometrics.ca>
> 
> ---
> 
> I noticed that the struct nand_ecclayout_user and its corresponding ioctl
> has been marked deprecated; however, since this is a 'debug' utility and at
> least one person found it useful I thought it would be a good idea to propose
> these changes anyways.

I think we could just kill depricated ioctls as soon as we make
mtd-utils stop using them. If you add this dependency - it will be more
difficult to kill them.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list