X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Finclude%2Flinux%2Fplatform%2Far934x_nfc.h;fp=target%2Flinux%2Far71xx%2Ffiles%2Finclude%2Flinux%2Fplatform%2Far934x_nfc.h;h=0000000000000000000000000000000000000000;hp=371aaee7f8268f8f7c7bf621429f5c6216a34947;hb=4e4ee4649553ab536225060a27fc320bf54e458c;hpb=47b2ee2d9a9a1790f9bf8a528640c333af39e4ba diff --git a/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h b/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h deleted file mode 100644 index 371aaee7f8..0000000000 --- a/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Platform data definition for the built-in NAND controller of the - * Atheros AR934x SoCs - * - * Copyright (C) 2011-2012 Gabor Juhos - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published - * by the Free Software Foundation. - */ - -#ifndef _AR934X_NFC_PLATFORM_H -#define _AR934X_NFC_PLATFORM_H - -#define AR934X_NFC_DRIVER_NAME "ar934x-nfc" - -struct mtd_info; -struct mtd_partition; - -enum ar934x_nfc_ecc_mode { - AR934X_NFC_ECC_SOFT = 0, - AR934X_NFC_ECC_HW, - AR934X_NFC_ECC_SOFT_BCH, -}; - -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); -}; - -#endif /* _AR934X_NFC_PLATFORM_H */