summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2012-09-25 03:40:49 (GMT)
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-09-29 14:57:33 (GMT)
commit7e74c2d7141e8929049233e28c74cd089f6ae962 (patch)
treed811df16199367e4ebba1d6a6135cc9783e87c1e /drivers/staging
parent4aef9b78de057349ad9d620851b14800af0b962c (diff)
downloadlinux-fsl-qoriq-7e74c2d7141e8929049233e28c74cd089f6ae962.tar.xz
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/staging')
0 files changed, 0 insertions, 0 deletions