u-boot/fs/yaffs2
Remy Bohmer 0bb86d823b Make the YAFFS filesystem work
Recently the YAFFS filesystem support has been added to U-boot.
However, just enabling CONFIG_YAFFS2 is not enough to get it working.

ymount will generate an exception (when dereferencing mtd->readoob()), because
the genericDevice is a null pointer. Further, a lot of logging is produced
while using YAFFS fs, so logging should also be disabled.
Both issues are solved by this patch.

With this patch and CONFIG_YAFFS2 enabled, I get a readable filesystem
in U-boot, as well as in Linux.

Tested on a Atmel AT91SAM9261EK board.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Acked-by: William Juul <william.juul@tandberg.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2008-08-21 14:05:33 -05:00
..
devextras.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
Makefile Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
README-linux Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_checkptrw.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_checkptrw.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_ecc.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_ecc.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_flashif.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_guts.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_guts.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_malloc.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_mtdif2.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_mtdif2.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_mtdif.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_mtdif.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_nand.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_nand.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_nandemul2k.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_packedtags1.c Incorporate yaffs2 into U-boot 2008-08-12 11:31:19 -05:00
yaffs_packedtags1.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_packedtags2.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_packedtags2.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_qsort.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_qsort.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_ramdisk.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_tagscompat.c Incorporate yaffs2 into U-boot 2008-08-12 11:31:19 -05:00
yaffs_tagscompat.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffs_tagsvalidity.c Incorporate yaffs2 into U-boot 2008-08-12 11:31:19 -05:00
yaffs_tagsvalidity.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffscfg.c Make the YAFFS filesystem work 2008-08-21 14:05:33 -05:00
yaffscfg.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffsfs.c Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffsfs.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yaffsinterface.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
ydirectenv.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
yportenv.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00