aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/mtd
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add 64kb bootloader mtd parser for tplinkpartJohn Crispin2015-08-171-6/+29
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds flash layout parser for TP-Link firmwares which have a 64kb bootloader. This is used for TP-Link TL-WDR6500 v2. SVN-Revision: 46662
* 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: generalize cybertan partition parserJohn Crispin2015-03-111-6/+0
| | | | | | | | | | By removing the NL16 signature check, the parser can be utilized by other devices like the WD My Net Wi-fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44664
* ar71xx: rename wrt160nl's trx partition parserJohn Crispin2015-03-111-18/+18
| | | | | | | | | This patch renames the partition parser from wrt160nl to more generic cybertan. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44663
* kernel: modify mtd related patches for 3.14Hauke Mehrtens2014-05-082-2/+6
| | | | | | | | | | | | The change is the same as ("kernel/generic: modify mtd related patches"). Since these files are under files directory, not a files directory of specific kernel version, better to also change them. So it will avoid adding files to future specific files directory (e.g. files-3.14) for this mtd related change. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 40732
* 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: use mtd_read in wrt160nl_partGabor Juhos2012-10-271-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33951
* ar71xx: use mtd_read in tplinkpartGabor Juhos2012-10-271-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33950
* 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-104-30/+22
| | | | SVN-Revision: 30406
* ar71xx: use dynamically allocated partitions in wrt160nl_partGabor Juhos2012-01-311-4/+14
| | | | SVN-Revision: 29970
* ar71xx: move arch specific files to files-2.6.39Gabor Juhos2012-01-221-310/+0
| | | | SVN-Revision: 29867
* ar71xx: wrt160nl_part: include module.h and fix compiler warningsGabor Juhos2012-01-221-3/+8
| | | | SVN-Revision: 29856
* ar71xx: tplinkpart: include module.hGabor Juhos2012-01-221-0/+1
| | | | SVN-Revision: 29855
* ar71xx: fix sections mismatch warnings in the nand driversGabor Juhos2012-01-052-2/+2
| | | | SVN-Revision: 29667
* ar71xx: tplinkpart: allow to detect JFFS2 as wellGabor Juhos2011-12-151-3/+4
| | | | SVN-Revision: 29543
* ar71xx: check squashfs signature in TP-Link mtd parserGabor Juhos2011-12-051-1/+31
| | | | SVN-Revision: 29446
* ar71xx: add mtd partition parser for the TP-Link boardsGabor Juhos2011-12-031-0/+165
| | | | SVN-Revision: 29415
* 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: Fix header offset for newer WRT160NL modelsGabor Juhos2011-05-311-9/+16
| | | | | | | | | | | | Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K, resulting in miscalculated partition sizes. Since the actual sizes did not change, hardcode them to their current sizes, and make sure they are at least one erase block big (in case Cisco decides to start to use chips with 128K erase blocks). Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 27049
* 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: wrap long linesGabor Juhos2010-11-121-2/+4
| | | | | | | | (build errors has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23977
* ar71xx: fix whitespaces nitsGabor Juhos2010-11-124-15/+15
| | | | | | | | (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: update image generation and trx header parsing for the WRT160NLGabor Juhos2010-03-271-6/+1
| | | | | | | * patch by Bernhard Loos * note: trailing whitespaces has been removed SVN-Revision: 20525
* ar71xx: add NAND driver for the RB750Gabor Juhos2010-03-081-0/+360
| | | | SVN-Revision: 20054
* WRT160NL: more mtd parser cleanupGabor Juhos2009-08-091-68/+106
| | | | SVN-Revision: 17201