summaryrefslogtreecommitdiff
path: root/Documentation/cpuidle
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-07-31 00:52:59 (GMT)
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-08-30 15:48:17 (GMT)
commitb32843b772db6024336e36c39359d8edc3b416ab (patch)
tree9e4cd381d3abfa5075dceb1ff544908645431a4b /Documentation/cpuidle
parent5a0edb251ae91c6f9b1f28dc165becd955666118 (diff)
downloadlinux-fsl-qoriq-b32843b772db6024336e36c39359d8edc3b416ab.tar.xz
mtd: nand: hide in-memory BBT implementation details
nand_base.c shouldn't have to know the implementation details of nand_bbt's in-memory BBT. Specifically, nand_base shouldn't perform the bit masking and shifting to isolate a BBT entry. Instead, just move some of the BBT code into a new nand_markbad_bbt() interface. This interface allows external users (i.e., nand_base) to mark a single block as bad in the BBT. Then nand_bbt will take care of modifying the in-memory BBT and updating the flash-based BBT (if applicable). 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 'Documentation/cpuidle')
0 files changed, 0 insertions, 0 deletions