diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-09-19 18:43:41 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-09-19 18:43:41 +0000 |
commit | d6fef0cb396801ccf8bc507244a6ac3874fc12cc (patch) | |
tree | e8f5459796602ceab38815d7d7d81b2577dbfe9f /target/linux/ar71xx/files/include | |
parent | ceecdfb1c96932e6e4e14c04f73dab323d765c13 (diff) | |
download | upstream-d6fef0cb396801ccf8bc507244a6ac3874fc12cc.tar.gz upstream-d6fef0cb396801ccf8bc507244a6ac3874fc12cc.tar.bz2 upstream-d6fef0cb396801ccf8bc507244a6ac3874fc12cc.zip |
ar71xx: ar934x_nfc: add experimental support for hardware ECC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38069
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r-- | target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h b/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h index 2c3db156b1..4a4e751d39 100644 --- a/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h +++ b/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h @@ -17,12 +17,19 @@ struct mtd_info; struct mtd_partition; +enum ar934x_nfc_ecc_mode { + AR934X_NFC_ECC_SOFT = 0, + AR934X_NFC_ECC_HW, +}; + struct ar934x_nfc_platform_data { const char *name; struct mtd_partition *parts; int nr_parts; bool swap_dma; + enum ar934x_nfc_ecc_mode ecc_mode; + void (*hw_reset)(bool active); void (*select_chip)(int chip_no); int (*scan_fixup)(struct mtd_info *mtd); |