[U-Boot] [U-Boot, v2, 2/7] mtd: nand: omap_elm: use bch_type instead of nibble count to differentiate between BCH4/BCH8/BCH16

Tom Rini trini at ti.com
Fri Jun 6 23:53:54 CEST 2014


On Fri, Apr 11, 2014 at 12:55:30PM +0530, pekon gupta wrote:

> 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 at ti.com>
> Reviewed-by: Stefan Roese <sr at denx.de>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140606/5bfe8939/attachment.pgp>


More information about the U-Boot mailing list