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> |
||
---|---|---|
.. | ||
byteorder | ||
mtd | ||
unaligned | ||
usb | ||
apm_bios.h | ||
bch.h | ||
bitops.h | ||
bitrev.h | ||
compat.h | ||
compiler-gcc3.h | ||
compiler-gcc4.h | ||
compiler-gcc.h | ||
compiler.h | ||
crc7.h | ||
crc8.h | ||
crc32.h | ||
ctype.h | ||
edd.h | ||
err.h | ||
ethtool.h | ||
fb.h | ||
input.h | ||
ioctl.h | ||
ioport.h | ||
kbuild.h | ||
linkage.h | ||
linux_string.h | ||
list.h | ||
lzo.h | ||
math64.h | ||
mc146818rtc.h | ||
mdio.h | ||
mii.h | ||
netdevice.h | ||
poison.h | ||
posix_types.h | ||
rbtree.h | ||
screen_info.h | ||
sizes.h | ||
stat.h | ||
stddef.h | ||
string.h | ||
stringify.h | ||
time.h | ||
types.h |