summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.18/0075-mtk_nand_alloc_buffer.patch
Commit message (Collapse)AuthorAgeFilesLines
* ralink: add missing nand layer hackJohn Crispin2015-11-211-0/+179
It turned out that mtk_nand driver uses some sophisticated accounting and a general nand code must be patched. This patch adds required read and erase calls to a general nand code. I used a code for re6500 released by Linksys as a reference. All required operations (erase, write and read) are usable. However I found that jffs2 filesystem can be created only on top of a ubi volume. I tried to create jffs2 directly on mtd device but pages with clean markers are became uncorrectable. Signed-off-by: Kirill Berezin <fyiwdt@gmail.com> SVN-Revision: 47565