aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mpi.h
diff options
context:
space:
mode:
authorBrian Norris2013-07-30 17:52:59 -0700
committerDavid Woodhouse2013-08-30 16:48:17 +0100
commitb32843b772db6024336e36c39359d8edc3b416ab (patch)
tree9e4cd381d3abfa5075dceb1ff544908645431a4b /include/linux/mpi.h
parent5a0edb251ae91c6f9b1f28dc165becd955666118 (diff)
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 'include/linux/mpi.h')
0 files changed, 0 insertions, 0 deletions