[PATCH 1/4] MTD: add ecc_strength fields to mtd structs

Artem Bityutskiy dedekind1 at gmail.com
Tue Mar 13 08:25:05 EDT 2012


On Sun, 2012-03-11 at 14:21 -0700, Mike Dunn wrote:
> This adds 'ecc_strength' to struct mtd_info.  This stores the maximum number of
> bit errors that can be corrected in one writesize region.
> 
> For consistency with the nand code, 'strength' is similiarly added to struct
> nand_ecc_ctrl.  This stores the maximum number of bit errors that can be
> corrected in one ecc step.
> 
> Signed-off-by: Mike Dunn <mikedunn at newsguy.com>

If you expose 'bitflips_threshold' to user-space, I think you also
should expose the strength - otherwise how would users select the
correct value in a general manner? Would you please expose it in a
separate patch?

Pushed this one to l2-mtd.git, thanks!

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120313/8c4d3dbf/attachment.sig>


More information about the linux-mtd mailing list