diff options
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 2c3db15..4a4e751 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); |