summaryrefslogtreecommitdiff
path: root/common/cmd_bootldr.c
diff options
context:
space:
mode:
authorpekon gupta <pekon@ti.com>2014-06-02 11:44:42 (GMT)
committerTom Rini <trini@ti.com>2014-06-06 21:46:10 (GMT)
commit46840f66caf564866d191886d2bd86742f982010 (patch)
treeaa719a57b1c9745b9cd00e9e44f283046f79c7a2 /common/cmd_bootldr.c
parent8d13a730dea1b5b4d32b31b5584cb8fdea27a248 (diff)
downloadu-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