diff options
author | pekon gupta <pekon@ti.com> | 2014-06-02 11:44:42 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-06 21:46:10 (GMT) |
commit | 46840f66caf564866d191886d2bd86742f982010 (patch) | |
tree | aa719a57b1c9745b9cd00e9e44f283046f79c7a2 /common/cmd_bootldr.c | |
parent | 8d13a730dea1b5b4d32b31b5584cb8fdea27a248 (diff) | |
download | u-boot-46840f66caf564866d191886d2bd86742f982010.tar.xz |
mtd: nand: omap: add support for BCH16_ECC - NAND driver updates
This patch add support for BCH16_ECC to omap_gpmc driver.
*need to BCH16 ECC scheme*
With newer SLC Flash technologies and MLC NAND, and large densities, pagesizes
Flash devices have become more suspectible to bit-flips. Thus stronger
ECC schemes are required for protecting the data.
But stronger ECC schemes have come with larger-sized ECC syndromes which require
more space in OOB/Spare. This puts constrains like;
(a) BCH16_ECC can correct 16 bit-flips per 512Bytes of data.
(b) BCH16_ECC generates 26-bytes of ECC syndrome / 512B.
Due to (b) this scheme can only be used with NAND devices which have enough
OOB to satisfy following equation:
OOBsize per page >= 26 * (page-size / 512)
Signed-off-by: Pekon Gupta <pekon@ti.com>
Diffstat (limited to 'common/cmd_bootldr.c')
0 files changed, 0 insertions, 0 deletions