From: Brian Norris Date: Wed, 21 Jul 2010 23:53:47 +0000 (-0700) Subject: mtd: nand: update nand_default_block_markbad() X-Git-Tag: v2.6.36-rc1~301^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02ed70bb7b2644936959aee617296022dedb109e;p=pandora-kernel.git mtd: nand: update nand_default_block_markbad() This is an update that depends on the previous patches I sent. We can now write to all the appropriate BB marker locations (i.e. pages 1 AND 2, bytes 1 AND 6) with nand_default_block_markbad() if necessary, according to the flags marked in chip->options. Note that I removed the line: ofs += mtd->oobsize; Unless I am wrong, this line was completely unnecessary in the first place. Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed