Hauke Mehrtens
f5e5477c81
kernel: modify mtd related patches for 3.14
...
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
2014-05-08 21:52:04 +00:00
Gabor Juhos
3d906ac6ac
ar71xx: rb91x-nand: rewrite to use GPIO API
...
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
2014-02-23 07:19:32 +00:00
Gabor Juhos
8461ffccc1
ar71xx: add NAND driver for the Mikrotik RB91x boards
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39097
2013-12-16 12:57:24 +00:00
Gabor Juhos
7815af409a
ar71xx: ar934x-nfc: disable subpage write when hardware ECC is used
...
It is not supported by the controller.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38234
2013-09-27 11:15:34 +00:00
Gabor Juhos
d6fef0cb39
ar71xx: ar934x_nfc: add experimental support for hardware ECC
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38069
2013-09-19 18:43:41 +00:00
Gabor Juhos
ceecdfb1c9
ar71xx: ar934x_nfc: return error code from some low-level functions
...
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
2013-09-19 18:43:40 +00:00
Gabor Juhos
df8485c7cb
ar71xx: ar934x_nfc: use devm_* functions
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38067
2013-09-19 18:43:38 +00:00
Gabor Juhos
4341b11f3e
ar71xx: remove __dev{init,exit} annotations from kernel files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35687
2013-02-19 20:52:06 +00:00
Gabor Juhos
1f7ae58a2c
ar71xx: ar934x_nfc: allow to control DMA data swap via platform data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34588
2012-12-10 10:38:07 +00:00
Gabor Juhos
188908e885
ar71xx: make rb750_nand driver compatible with 3.7
...
Also add compatibility patches for the currently
supported kernels.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34279
2012-11-20 16:29:43 +00:00
Gabor Juhos
8194237789
ar71xx: make ar934x_nfc driver compatible with 3.7
...
Also add compatibility patches for the currently
supported kernels.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34278
2012-11-20 16:29:42 +00:00
Gabor Juhos
46a3b818b9
ar71xx: remove buffer verification reference from rb4xx_nand.c
...
It is a dead code.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34276
2012-11-20 14:40:22 +00:00
Gabor Juhos
d833ca527d
ar71xx: restore rb4xx kernel partition size to the original value
...
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
2012-11-20 12:17:45 +00:00
Gabor Juhos
a6549ac1cb
ar71xx: remove NO_AUTOINCR flag from the NAND drivers
...
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
2012-10-28 12:21:15 +00:00
Gabor Juhos
269872fe1e
ar71xx: use mtd_read in wrt160nl_part
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33951
2012-10-27 07:57:58 +00:00
Gabor Juhos
973eda6077
ar71xx: use mtd_read in tplinkpart
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33950
2012-10-27 07:57:57 +00:00
Gabor Juhos
7c85646176
ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
...
SVN-Revision: 33454
2012-09-17 20:30:55 +00:00
Gabor Juhos
3bdf0bc36f
ar71xx: ar934x_nfc: increase DMA retry count
...
SVN-Revision: 33453
2012-09-17 20:30:54 +00:00
Gabor Juhos
b7cb43f6a6
ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
...
SVN-Revision: 33452
2012-09-17 20:30:53 +00:00
Gabor Juhos
96dde2e591
ar71xx: ar934x_nfc: fix RNDOUT operation
...
SVN-Revision: 33451
2012-09-17 20:30:51 +00:00
Gabor Juhos
338b698fb6
ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
...
SVN-Revision: 33450
2012-09-17 20:30:50 +00:00
Gabor Juhos
1e5fdbeae5
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
...
SVN-Revision: 33385
2012-09-13 07:26:22 +00:00
Gabor Juhos
8a471efe01
ar71xx: add platform data for the RB750 NAND driver
...
SVN-Revision: 31022
2012-03-19 15:56:59 +00:00
Gabor Juhos
fe0c7aac66
ar71xx: merge 3.2 fixes
...
SVN-Revision: 30406
2012-02-10 08:19:33 +00:00
Gabor Juhos
d5d37febb4
ar71xx: use dynamically allocated partitions in wrt160nl_part
...
SVN-Revision: 29970
2012-01-31 18:36:51 +00:00
Gabor Juhos
386cbfe45b
ar71xx: move arch specific files to files-2.6.39
...
SVN-Revision: 29867
2012-01-22 22:38:11 +00:00
Gabor Juhos
e7dee3aeed
ar71xx: wrt160nl_part: include module.h and fix compiler warnings
...
SVN-Revision: 29856
2012-01-22 17:55:38 +00:00
Gabor Juhos
a7d344565b
ar71xx: tplinkpart: include module.h
...
SVN-Revision: 29855
2012-01-22 17:55:36 +00:00
Gabor Juhos
8eb0b7ab3d
ar71xx: fix sections mismatch warnings in the nand drivers
...
SVN-Revision: 29667
2012-01-05 18:08:33 +00:00
Gabor Juhos
850be54b72
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
SVN-Revision: 29543
2011-12-15 22:03:40 +00:00
Gabor Juhos
3e7a6d182a
ar71xx: check squashfs signature in TP-Link mtd parser
...
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Gabor Juhos
514b1167c9
ar71xx: add mtd partition parser for the TP-Link boards
...
SVN-Revision: 29415
2011-12-03 18:13:27 +00:00
Gabor Juhos
aa0c8c4885
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
...
SVN-Revision: 29123
2011-11-14 17:43:11 +00:00
Gabor Juhos
62a7795afd
ar71xx: merge nand scan patch
...
SVN-Revision: 29122
2011-11-14 17:43:10 +00:00
Gabor Juhos
0677e16248
ar71xx: Fix header offset for newer WRT160NL models
...
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
2011-05-31 22:53:20 +00:00
Gabor Juhos
23a6173099
ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
...
SVN-Revision: 24944
2011-01-09 09:29:45 +00:00
Gabor Juhos
fddf3b8dac
ar71xx: drivers/rb4xx_nand: remove C++ comment usage
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23980
2010-11-12 18:51:55 +00:00
Gabor Juhos
acd8ad4de5
ar71xx: wrap long lines
...
(build errors has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23977
2010-11-12 18:51:04 +00:00
Gabor Juhos
500fac1735
ar71xx: fix whitespaces nits
...
(build error has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23975
2010-11-12 18:50:29 +00:00
Felix Fietkau
b61a804bf7
ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
...
SVN-Revision: 23293
2010-10-07 14:27:34 +00:00
Gabor Juhos
47f8fd1dde
ar71xx: rewrite SPI drivers for the RB4xx boards
...
* 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
2010-08-31 20:13:47 +00:00
Gabor Juhos
6ce447427c
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
...
SVN-Revision: 21736
2010-06-09 15:31:34 +00:00
Gabor Juhos
905f2d62f9
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* patch by Bernhard Loos
* note: trailing whitespaces has been removed
SVN-Revision: 20525
2010-03-27 17:38:36 +00:00
Gabor Juhos
d58a367083
ar71xx: add NAND driver for the RB750
...
SVN-Revision: 20054
2010-03-08 12:10:23 +00:00
Gabor Juhos
214f39d46d
WRT160NL: more mtd parser cleanup
...
SVN-Revision: 17201
2009-08-09 12:56:06 +00:00
Gabor Juhos
c202ef57b1
WRT160NL: mtd parser cleanup
...
SVN-Revision: 17177
2009-08-08 13:06:28 +00:00
Gabor Juhos
8f854e27c8
move the trx parser out from the patch
...
SVN-Revision: 17176
2009-08-08 12:08:41 +00:00
Gabor Juhos
5d21be0e31
move definition of ar91xx_flash_platform_data into a separate header file ( closes #5321 )
...
SVN-Revision: 16417
2009-06-11 08:07:14 +00:00
Gabor Juhos
67ace05bfe
update flash locking code
...
SVN-Revision: 16359
2009-06-06 15:56:03 +00:00
Gabor Juhos
ba08043ce4
add parallel flash driver
...
SVN-Revision: 16353
2009-06-06 08:41:47 +00:00