Brian Norris 7e74c2d714 mtd: nand: split BB marker options decoding into its own function
When detecting NAND parameters, the code gets a little ugly so that the
logic is obscured. Try to remedy that by moving code to separate functions
that have well-defined purposes.

This patch splits the bad block marker options detection into its own function,
away from the other parameters (e.g., chip size, page size, etc.).

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-09-29 15:57:33 +01:00
..
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:54:09 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:29:51 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:10:04 +01:00
2012-09-29 15:00:46 +01:00
2012-03-27 00:56:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00