]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:38:12 +0000 (14:38 +0200)
commitb9d3ee31aa550b8a1985b6978f49d2e664d68d51
tree5f1392f70ba39fea92e8e4626b377692d7bc2c3f
parent876c235c3210fabc538ff3632398953f2df00bc3
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