Age | Commit message (Collapse) | Author |
|
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
Clean up a whole lot of code issues raised by Ryan.
Some further reformatting etc to be mor kernel friendly.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
Passes checkpatch.pl
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
Only applies to Linux files.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
__u32 -> u32 and such.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
divide up test code
This all makes for a far cleaner layout of test code.
The new yaffs direct list management allows partitions to be added synamically rather than
statically. This is better for OSs that install partitions at runtime (eg. WInCE).
The nand abstraction makes it tidier to add a new nand driver to yaffs direct and test code.
The test code has been repartitioned to make porting and file management cleaner.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
Update copyright messages.
Clean up tracing to use TSTR and KERN_DEBUG.
Remove cvs $Id.
Change /proc/yaffs_debug to /proc/yaffs_stats.
... and a few other clean ups.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
a Linux Kernel still build correctly.
Set MTD_VERSION_CODE either from the kernel or by hand.
|
|
|
|
|
|
|
|
|
|
|
|
Notable is that to enable it for yaffs1 compatibility mode, I introduced
a workaround (translate_spare2oob/translate_oob2spare) which should be
redesigned if possible. The thing is that yaffs1 presumes SmartMedia OOB
layout which might be not true for a lot of modern flash controllers, so
there has to be translation.
Or, in case we get to tags inband, this workaround will become useless.
|
|
|
|
|
|
|
|
|
|
If not done, write failures will not be detected.
Thanks to Artis Kugevics.
|
|
Required to specify eccbytes for current MTD version, otherwise ECC will fail.
Thanks to Artis Kugevics.
|
|
|
|
convert CONFIG_YAFFS_MTD_ENABLED to CONFIG_YAFFS_YAFFS1
convert CONFIG_YAFFS2_MTD_ENABLED to CONFIG_YAFFS_YAFFS2
|
|
always included. Move it outside of ifdef CONFIG_YAFFS_MTD_ENABLED.
added in additional configuration conditionals to shut up gcc about
defined but not used functions in yaffs_fs.c
added in NOTYET around functions that aren't currently used in
yaffs_tagscompat.c to shut up gcc about defined but not used function.
|
|
|
|
|
|
|
|
|