[PATCH] mtd/nand: Update nand_default_block_markbad()
Artem Bityutskiy
dedekind1 at gmail.com
Mon Jul 26 00:30:58 EDT 2010
On Wed, 2010-07-21 at 16:53 -0700, Brian Norris wrote:
> 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 <norris at broadcom.com>
Pushed to mtd-2.6.git / master, thanks.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list