aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/src/trx.c
Commit message (Collapse)AuthorAgeFilesLines
* packages: clean up the package folderJohn Crispin2013-06-211-220/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007
* mtd: fix trx_fixupFelix Fietkau2012-07-251-3/+3
| | | | | | | | | | | | | | | | With the BRCM47xx image I have built (Linksys E3000), there are additional writes following the completion of "mtd_replace_jffs2" which invalidate the 'trx_fixup' performed by 'mtd_replace_jffs2'. Moving the 'trx_fixup' to somewhere after all writes have completed fixes the problem. I also noticed that 'erasesize' used to compute 'block_offset' in 'mtd_fixtrx' is used before it is computed by 'mtd_check_open'; moving the call to 'mtd_check_open' up a few lines fixes this. Unlike 'mtd_fixtrx', 'trx_fixup' appears to assume that the TRX header is always at offset 0; which may be the cause of the problem described in Ticket #8960. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 32866
* target: linux: mtd: fix MTDREFRESH to an arbitrary high numberJonas Gorski2011-11-091-1/+1
| | | | | | | | | To make the ioctl number "stable", use an arbitrary high number to prevent conflicts with new mtd ioctls that would push MTDREFRESH's number. Also make mtd use the in-kernel mtd headers. SVN-Revision: 28893
* mtd: Changed mtd_fixtrx and related functions to be weak references. The ↵Daniel Dickinson2010-12-261-5/+93
| | | | | | | | weak references only lead to actual functions for brcm47xx Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> SVN-Revision: 24833
* package/mtd: add fixtrx commandGabor Juhos2010-03-271-2/+1
| | | | | | | * patch by Bernhard Loos * note: trailing whitespaces are removed SVN-Revision: 20524
* package/mtd: reuse existing crc32 stuff in the trx codeGabor Juhos2010-03-271-33/+1
| | | | | | | * patch by Bernhard Loos * note: fixed compiler error on brcm47xx SVN-Revision: 20523
* clean up mtd, fix up trx header when integrating jffs2 data on broadcom devicesFelix Fietkau2008-09-231-0/+165
SVN-Revision: 12655