diff options
author | Brian Norris <computersforpeace@gmail.com> | 2012-09-24 20:40:49 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 15:57:33 +0100 |
commit | 7e74c2d7141e8929049233e28c74cd089f6ae962 (patch) | |
tree | d811df16199367e4ebba1d6a6135cc9783e87c1e /drivers/mtd/lpddr | |
parent | 4aef9b78de057349ad9d620851b14800af0b962c (diff) |
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>
Diffstat (limited to 'drivers/mtd/lpddr')
0 files changed, 0 insertions, 0 deletions