aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c
Commit message (Collapse)AuthorAge
* ar71xx: drop targetAdrian Schmutzler2020-08-30
| | | | | | | | | | This target has been mostly replaced by ath79 and won't be included in the upcoming release anymore. Finally put it to rest. This also removes all references in packages, tools, etc. as well as the uboot-ar71xx and vsc73x5-ucode packages. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: Update kernel 4.14 to version 4.14.187Hauke Mehrtens2020-07-04
| | | | | | | | | | | | Fixes: - CVE-2020-10757 The "mtd: rawnand: Pass a nand_chip object to nand_release()" commit was backported which needed some adaptations to other code. Build tested: ramips Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ar71xx: fix build error due to bad includeKoen Vandeputte2018-08-22
| | | | | | | | | | | | | | | | | | While "rawnand.h" is available in kernel 4.14, the default for this target is kernel 4.9 in which "nand.h" should be used. Add an extra check to include the correct file depending on kernel version Fixes these build errors: drivers/mtd/nand/ar934x_nfc.c:16:10: fatal error: linux/mtd/rawnand.h: No such file or directory #include <linux/mtd/rawnand.h> ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. Fixes: 318e19ba6755 ("ar71xx: add v4.14 support") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx: add v4.14 supportJohn Crispin2018-08-22
| | | | | | adds v4.14 patches for testing but leaves v4.9 as default for now. Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: Add kernel 4.9 supportHauke Mehrtens2017-10-11
| | | | | | | | | | | | | This add support for kernel 4.9 to the ar71xx target. It was compile tested with the generic, NAND and mikrotik subtarget. Multiple members of the community tested it on their boards and did not report any major problem so far. Especially the NAND part received some changes to adapt to the new kernel APIs. The serial driver hack used for the Arduino Yun was not ported because the kernel changed there a lot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ar71xx: fix drivers/mtd/nand/ar934x_nfc.cPaul Wassi2016-11-18
| | | | | | | Fix the incorrect usage of ar934x_nfc_write_page and ar934x_nfc_write_page_raw. Add *page* in the argument list and remove the local variable. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* ar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash ↵Felix Fietkau2015-07-20
| | | | | | | | driver (fixes #20125) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46433
* ar71xx: ar934x-nfc: allow ECC to be configured in software BCH modeFelix Fietkau2015-06-18
| | | | | | | | | 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> SVN-Revision: 46022
* ar71xx: ar934x-nfc: disable subpage write when hardware ECC is usedGabor Juhos2013-09-27
| | | | | | | | It is not supported by the controller. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38234
* ar71xx: ar934x_nfc: add experimental support for hardware ECCGabor Juhos2013-09-19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38069
* ar71xx: ar934x_nfc: return error code from some low-level functionsGabor Juhos2013-09-19
| | | | | | | | | | Change some flow-level unctions to return with an error code in order to be able to report errors to the core code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38068
* ar71xx: ar934x_nfc: use devm_* functionsGabor Juhos2013-09-19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38067
* ar71xx: remove __dev{init,exit} annotations from kernel filesGabor Juhos2013-02-19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35687
* ar71xx: ar934x_nfc: allow to control DMA data swap via platform dataGabor Juhos2012-12-10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34588
* ar71xx: make ar934x_nfc driver compatible with 3.7Gabor Juhos2012-11-20
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34278
* ar71xx: remove NO_AUTOINCR flag from the NAND driversGabor Juhos2012-10-28
| | | | | | | | | The flag is not present in 3.6. Also add compatibility patches for 3.3. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33971
* ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_readGabor Juhos2012-09-17
| | | | SVN-Revision: 33454
* ar71xx: ar934x_nfc: increase DMA retry countGabor Juhos2012-09-17
| | | | SVN-Revision: 33453
* ar71xx: ar934x_nfc: optimize READOOB operation on large page devicesGabor Juhos2012-09-17
| | | | SVN-Revision: 33452
* ar71xx: ar934x_nfc: fix RNDOUT operationGabor Juhos2012-09-17
| | | | SVN-Revision: 33451
* ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devicesGabor Juhos2012-09-17
| | | | SVN-Revision: 33450
* ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934xGabor Juhos2012-09-13
SVN-Revision: 33385