summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorBrian Norris <norris@broadcom.com>2010-07-21 16:53:47 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 09:09:50 +0100
commit02ed70bb7b2644936959aee617296022dedb109e (patch)
tree8ca2ac211e45a56dc682be08af7640a73d81cf9e /drivers/mtd/onenand
parent6ea9ad24186d1242320bf02082e02c8c5a8073be (diff)
downloadop-kernel-dev-02ed70bb7b2644936959aee617296022dedb109e.zip
op-kernel-dev-02ed70bb7b2644936959aee617296022dedb109e.tar.gz
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 <norris@broadcom.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/onenand')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud