I assume yaffs_mtdif2.c inside http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/patches/ is the latest file that contains the fix for 2K page NAND, and should your patch apply to this file instead of the one in stock. Please refer to this link for reference:
http://aleph1.co.uk/lurker/message/20060707.021759.50a45933.en.html
Ceco
Vitaly Wool <vitalywool@gmail.com> wrote:
On 9/8/06, goog longwrote:
> Should your patch apply on top of yaffs_mtdif2.c inside patches directory
> instead of the file outside?
Not sure if I understood you. Anyway, what I do is first I put yaffs2
into linux/fs, add the necessary code to fs/Kconfig and fs/Makefile
and then apply the patch.
The other way would be to use -pX parameter of the patch command with
appropriate level.
Hope that helps.
Vitaly