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 | 01b9f2ed810fba324eb4c42d61ae4b21c1730721 (patch) | |
tree | 089ba705b76933110ccf575834ff5e92a4814dfc /target/linux/ar71xx/files/include | |
parent | 71d579ba28ea4052f5baf46ceb08799602a3f3ee (diff) | |
download | master-187ad058-01b9f2ed810fba324eb4c42d61ae4b21c1730721.tar.gz master-187ad058-01b9f2ed810fba324eb4c42d61ae4b21c1730721.tar.bz2 master-187ad058-01b9f2ed810fba324eb4c42d61ae4b21c1730721.zip |
ar71xx: ar934x_nfc: add experimental support for hardware ECC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38069 3c298f89-4303-0410-b956-a3cf2f4a3e73
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); |