mtd: nand: edit macro flag for BBT scan of last page in block
authorBrian Norris <norris@broadcom.com>
Wed, 23 Jun 2010 20:36:02 +0000 (13:36 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 2 Aug 2010 08:05:12 +0000 (09:05 +0100)
commit30fe8115b55223cb84530ce04c4a20ba9d6dcf0b
treea589cb88978bcf39808e800fd79c663218377bf9
parente1d0fe3cddf2306e3ac32569aa152f1909c9b46e
mtd: nand: edit macro flag for BBT scan of last page in block

NAND_BB_LAST_PAGE used to be in nand.h, but it pertained to bad block
management and so belongs next to NAND_BBT_SCAN2NDPAGE in bbm.h. Also,
its previous flag value (0x00000400) conflicted with NAND_BBT_SCANALLPAGES
so I changed its value to 0x00008000. All uses of the name were modified to
provide consistency with other "NAND_BBT_*" flags.

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>
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_bbt.c
include/linux/mtd/bbm.h
include/linux/mtd/nand.h