aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/mtd/nand
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix mikrotik routerboard nand driver issues with linux 4.9Felix Fietkau2017-10-243-27/+108
| | | | | | The mtd device is now embedded inside the nand chip data structure Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Add kernel 4.9 supportHauke Mehrtens2017-10-114-7/+260
| | | | | | | | | | | | | 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: convert mikrotik routerboard support to UBIFelix Fietkau2017-01-163-3/+3
| | | | | | | | | | Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: disable sub-page writes on routerboard nand driversFelix Fietkau2017-01-113-0/+3
| | | | | | They seem to fail in tests using UBI, and are not used by yaffs2 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove a non-upstream spi core patchFelix Fietkau2017-01-051-2/+2
| | | | | | | - use standard flags instead - remove dead code from the rb4xx spi drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix drivers/mtd/nand/ar934x_nfc.cPaul Wassi2016-11-181-8/+2
| | | | | | | 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-201-1/+1
| | | | | | | | 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-181-0/+4
| | | | | | | | | 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: rb91x-nand: rewrite to use GPIO APIGabor Juhos2014-02-231-114/+136
| | | | | | | | | Rewrite tha rb91x-nand driver to use GPIO API to modify the NAND control lines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39700
* ar71xx: add NAND driver for the Mikrotik RB91x boardsGabor Juhos2013-12-161-0/+355
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39097
* ar71xx: ar934x-nfc: disable subpage write when hardware ECC is usedGabor Juhos2013-09-271-0/+6
| | | | | | | | 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-191-2/+339
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38069
* ar71xx: ar934x_nfc: return error code from some low-level functionsGabor Juhos2013-09-191-10/+18
| | | | | | | | | | 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-191-15/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38067
* ar71xx: remove __dev{init,exit} annotations from kernel filesGabor Juhos2013-02-193-10/+10
| | | | | | 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-101-10/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34588
* ar71xx: make rb750_nand driver compatible with 3.7Gabor Juhos2012-11-201-16/+4
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34279
* ar71xx: make ar934x_nfc driver compatible with 3.7Gabor Juhos2012-11-201-13/+0
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34278
* ar71xx: remove buffer verification reference from rb4xx_nand.cGabor Juhos2012-11-201-3/+0
| | | | | | | | It is a dead code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34276
* ar71xx: restore rb4xx kernel partition size to the original valueGabor Juhos2012-11-201-1/+1
| | | | | | | | | The new lzma compressed elf kernel image fits into that, even on devices with large page NAND chips. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34274
* ar71xx: remove NO_AUTOINCR flag from the NAND driversGabor Juhos2012-10-283-3/+0
| | | | | | | | | 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-171-12/+8
| | | | SVN-Revision: 33454
* ar71xx: ar934x_nfc: increase DMA retry countGabor Juhos2012-09-171-1/+2
| | | | SVN-Revision: 33453
* ar71xx: ar934x_nfc: optimize READOOB operation on large page devicesGabor Juhos2012-09-171-6/+4
| | | | SVN-Revision: 33452
* ar71xx: ar934x_nfc: fix RNDOUT operationGabor Juhos2012-09-171-2/+6
| | | | SVN-Revision: 33451
* ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devicesGabor Juhos2012-09-171-6/+9
| | | | SVN-Revision: 33450
* ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934xGabor Juhos2012-09-131-0/+1149
| | | | SVN-Revision: 33385
* ar71xx: add platform data for the RB750 NAND driverGabor Juhos2012-03-191-19/+27
| | | | SVN-Revision: 31022
* ar71xx: merge 3.2 fixesGabor Juhos2012-02-102-28/+20
| | | | SVN-Revision: 30406
* ar71xx: fix sections mismatch warnings in the nand driversGabor Juhos2012-01-052-2/+2
| | | | SVN-Revision: 29667
* ar71xx: add AR71XX_ prefix to GPIO_REG_* definesGabor Juhos2011-11-141-36/+40
| | | | SVN-Revision: 29123
* ar71xx: merge nand scan patchGabor Juhos2011-11-142-2/+2
| | | | SVN-Revision: 29122
* ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driverGabor Juhos2011-01-091-5/+8
| | | | SVN-Revision: 24944
* ar71xx: drivers/rb4xx_nand: remove C++ comment usageGabor Juhos2010-11-121-1/+3
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23980
* ar71xx: fix whitespaces nitsGabor Juhos2010-11-122-11/+11
| | | | | | | | (build error has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23975
* ar71xx: increase rb4xx nand kernel partition size (patch by danimo)Felix Fietkau2010-10-071-1/+1
| | | | SVN-Revision: 23293
* ar71xx: rewrite SPI drivers for the RB4xx boardsGabor Juhos2010-08-311-308/+106
| | | | | | | | | | * add a new SPI controller driver * add SPI driver for the CPLD chip * convert the NAND driver * enable the mikroSD slot * enable more LEDs SVN-Revision: 22863
* ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35Gabor Juhos2010-06-092-0/+2
| | | | SVN-Revision: 21736
* ar71xx: add NAND driver for the RB750Gabor Juhos2010-03-081-0/+360
| | | | SVN-Revision: 20054
* reorder nand partitions on RB-4xx (closes #3852)Gabor Juhos2008-08-061-7/+7
| | | | SVN-Revision: 12201
* surprise :pGabor Juhos2008-07-211-0/+507
SVN-Revision: 11894