aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: drop targetAdrian Schmutzler2020-08-301-396/+0
| | | | | | | | | | 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>
* ar71xx: Fix mikrotik NAND compile problemHauke Mehrtens2020-07-061-1/+1
| | | | | | | There is one closing bracket too much. Fixes: ce958dd88a7e ("kernel: Update kernel 4.14 to version 4.14.187") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Update kernel 4.14 to version 4.14.187Hauke Mehrtens2020-07-041-2/+2
| | | | | | | | | | | | 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-221-1/+5
| | | | | | | | | | | | | | | | | | 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-221-1/+1
| | | | | | adds v4.14 patches for testing but leaves v4.9 as default for now. Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: fix mikrotik routerboard nand driver issues with linux 4.9Felix Fietkau2017-10-241-9/+39
| | | | | | 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-111-0/+56
| | | | | | | | | | | | | 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-161-1/+1
| | | | | | | | | | 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-111-0/+1
| | | | | | 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: remove __dev{init,exit} annotations from kernel filesGabor Juhos2013-02-191-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35687
* 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-281-1/+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: merge 3.2 fixesGabor Juhos2012-02-101-7/+5
| | | | SVN-Revision: 30406
* ar71xx: fix sections mismatch warnings in the nand driversGabor Juhos2012-01-051-1/+1
| | | | SVN-Revision: 29667
* ar71xx: merge nand scan patchGabor Juhos2011-11-141-1/+1
| | | | 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-121-8/+8
| | | | | | | | (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-091-0/+1
| | | | SVN-Revision: 21736
* 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