One of the things that is needed to align the YAFFS codebase for YAFFS2 is to make a cleaner division between the YAFFS guts and device specific routines. There are already some uglinesses in yaffs_guts to support hw ecc etc., so this repartitioning should help to make the system integrator's job easier too. Herewith a repartitioning proposal. I'd like people to give this a read (particularly anyone who has dabbled with the yaffs_mtd interface or equivalent) and comment. Thanx -- Charles