pekon gupta
41bbe4dd49
mtd: nand: omap_elm: use bch_type instead of nibble count to differentiate between BCH4/BCH8/BCH16
ELM hardware engine support ECC error detection for multiple ECC strengths like
+------+------------------------+
|Type | ECC syndrome length |
+------+------------------------+
|BCH4 | 6.5 bytes = 13 nibbles |
|BCH8 | 13 byte = 26 nibbles |
|BCH16 | 26 bytes = 52 nibbles |
+------+------------------------+
Current implementation of omap_elm driver uses ECC syndrom length (in 'nibbles')
to differentiate between BCH4/BCH8/BCH16. This patch replaces it with 'bch_type'
Signed-off-by: Pekon Gupta <pekon@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2014-06-06 17:45:48 -04:00
..
2013-07-24 09:44:38 -04:00
2009-07-07 22:35:02 +02:00
2008-10-29 10:42:16 -05:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-11-21 13:32:43 -06:00
2012-01-26 16:09:02 -06:00
2012-02-28 14:03:39 -06:00
2013-10-09 12:52:04 -05:00
2006-09-07 11:51:23 +02:00
2014-06-06 17:45:48 -04:00
2014-03-04 17:23:54 -06:00
2009-11-13 16:56:18 -06:00
2012-04-30 16:54:51 +02:00
2009-11-13 16:56:14 -06:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00