ar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode
authorFelix Fietkau <nbd@openwrt.org>
Thu, 18 Jun 2015 06:37:01 +0000 (06:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 18 Jun 2015 06:37:01 +0000 (06:37 +0000)
commita5cd02aec4264339c2db47b584cfc65dbd8ef2ea
treed04ab248465628f132bb3243d5ddcb54d0ca73ec
parent1772c47c51b20e612fb1e2cc6013e5301b5e0bbb
ar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode

Some devices ship with NAND images that use BCH ECC. Let the driver know
about that ECC mode so that it can be selected by machine files.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
SVN-Revision: 46022
target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c
target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h