Skip to content

Commit

Permalink
mtd: Better comment NAND_BBT_NO_OOB
Browse files Browse the repository at this point in the history
Amend the comment to reflect the fact NAND_BBT_NO_OOB refers to the
location of the bad block table marker.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Shmulik Ladkani authored and David Woodhouse committed Jul 6, 2012
1 parent b8c2d65 commit f3bae3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/linux/mtd/bbm.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ struct nand_bbt_descr {
* OOB area. This option is passed to the default bad block table function.
*/
#define NAND_BBT_USE_FLASH 0x00020000
/* Do not store flash based bad block table in OOB area; store it in-band */
/*
* Do not store flash based bad block table marker in the OOB area; store it
* in-band.
*/
#define NAND_BBT_NO_OOB 0x00040000
/*
* Do not write new bad block markers to OOB; useful, e.g., when ECC covers
Expand Down

0 comments on commit f3bae3d

Please sign in to comment.