Commit 9eeff824 authored by Brian Norris's avatar Brian Norris Committed by Artem Bityutskiy

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:
    58373ff0
    mtd: nand: more BB Detection refactoring and dynamic scan options
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent b4dc53e1
...@@ -113,7 +113,11 @@ struct nand_bbt_descr { ...@@ -113,7 +113,11 @@ struct nand_bbt_descr {
/* Do not store flash based bad block table in OOB area; store it in-band */ /* Do not store flash based bad block table in OOB area; store it in-band */
#define NAND_BBT_NO_OOB 0x00040000 #define NAND_BBT_NO_OOB 0x00040000
/* The nand_bbt_descr was created dynamicaly and must be freed */ /*
* Flag set by nand_create_default_bbt_descr(), marking that the nand_bbt_descr
* was allocated dynamicaly and must be freed in nand_release(). Has no meaning
* in nand_chip.bbt_options.
*/
#define NAND_BBT_DYNAMICSTRUCT 0x80000000 #define NAND_BBT_DYNAMICSTRUCT 0x80000000
/* The maximum number of blocks to scan for a bbt */ /* The maximum number of blocks to scan for a bbt */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment