aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-05-31 19:31:27 -0400
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 08:01:57 -0400
commit9eeff8243677b8bbfc17e8e606e965bb591a759d (patch)
tree59cd67497cec487228adceb749fe3a831307ecac /include/linux/mtd
parentb4dc53e16ff00c0edba3d3219e216475e68951b3 (diff)
mtd: nand: improve comment on NAND_BBT_DYNAMIC_STRUCT
In an attempt to improve the documentation of the BBT code, I am expanding the comments I left in commit: 58373ff0afff4cc8ac40608872995f4d87eb72ec mtd: nand: more BB Detection refactoring and dynamic scan options Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/bbm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/mtd/bbm.h b/include/linux/mtd/bbm.h
index 57d6a8d4aa17..c4eec228eef9 100644
--- a/include/linux/mtd/bbm.h
+++ b/include/linux/mtd/bbm.h
@@ -113,7 +113,11 @@ struct nand_bbt_descr {
113/* Do not store flash based bad block table in OOB area; store it in-band */ 113/* Do not store flash based bad block table in OOB area; store it in-band */
114#define NAND_BBT_NO_OOB 0x00040000 114#define NAND_BBT_NO_OOB 0x00040000
115 115
116/* The nand_bbt_descr was created dynamicaly and must be freed */ 116/*
117 * Flag set by nand_create_default_bbt_descr(), marking that the nand_bbt_descr
118 * was allocated dynamicaly and must be freed in nand_release(). Has no meaning
119 * in nand_chip.bbt_options.
120 */
117#define NAND_BBT_DYNAMICSTRUCT 0x80000000 121#define NAND_BBT_DYNAMICSTRUCT 0x80000000
118 122
119/* The maximum number of blocks to scan for a bbt */ 123/* The maximum number of blocks to scan for a bbt */