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
..
2012-11-30 07:15:04 -07:00
2014-06-06 17:45:48 -04:00
2012-11-04 11:00:34 -07:00
2013-10-20 23:42:41 +02:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-08-22 16:50:29 +02:00
2013-09-06 13:09:07 -04:00
2013-09-06 13:09:07 -04:00
2014-01-08 17:20:34 -07:00
2011-10-17 22:25:34 +02:00
2013-06-24 19:11:13 -05:00
2014-03-05 12:23:48 +01:00
2014-01-09 16:08:15 +01:00
2012-12-13 11:46:07 -07:00
2013-06-24 19:11:13 -05:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2014-03-04 12:15:01 -05:00
2012-11-04 11:00:34 -07:00
2013-05-31 17:12:03 -05:00
2012-10-15 11:53:47 -07:00
2013-11-08 15:25:13 -05:00