ar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Jun 2015 06:37:01 +0000 (06:37 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Jun 2015 06:37:01 +0000 (06:37 +0000)
commitcaba8f013348efa6faf45d7fc0f97b999bf0ab42
treec14c68a25362ee87d4bad31ccfad16f9a3a71421
parenta824da77e0ff193ef871be8b86ff170610771d8a
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46022 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c
target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h