]> git.sur5r.net Git - u-boot/commit
nand: yaffs: Remove the "nand write.yaffs" command
authorPeter Tyser <ptyser@xes-inc.com>
Tue, 3 Feb 2015 17:58:16 +0000 (11:58 -0600)
committerScott Wood <scottwood@freescale.com>
Tue, 31 Mar 2015 04:24:39 +0000 (23:24 -0500)
commit004a1fdb45fb06ee2faf6e50945ceb79d43a2f41
treee378fc5a92cab776011419ededacd9fbecd438ae
parent073adf987e8251ad934fcac4fd1bf20d4f34f96e
nand: yaffs: Remove the "nand write.yaffs" command

This command is only enabled by one board, complicates the NAND code,
and doesn't appear to have been functioning properly for several
years.  If there are no bad blocks in the NAND region being written
nand_write_skip_bad() will take the shortcut of calling nand_write()
which bypasses the special yaffs handling.  This causes invalid YAFFS
data to be written. See
http://lists.denx.de/pipermail/u-boot/2011-September/102830.html for
an example and a potential workaround.

U-Boot still retains the ability to mount and access YAFFS partitions
via CONFIG_YAFFS2.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
common/cmd_nand.c
drivers/mtd/nand/nand_util.c
include/configs/M54418TWR.h
include/configs/VCMA9.h
include/nand.h