summaryrefslogtreecommitdiff
path: root/Documentation/cpuidle
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-07-31 00:52:58 (GMT)
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-08-30 15:47:52 (GMT)
commit5a0edb251ae91c6f9b1f28dc165becd955666118 (patch)
tree2411a390a1c5350baaf152e431e579a2487de57a /Documentation/cpuidle
parent39dbb02998d859f0fa12c5b495fe90681ba45ce2 (diff)
downloadlinux-fsl-qoriq-5a0edb251ae91c6f9b1f28dc165becd955666118.tar.xz
mtd: nand: refactor chip->block_markbad interface
The chip->block_markbad pointer should really only be responsible for writing a bad block marker for new bad blocks. It should not take care of BBT-related functionality, nor should it handle bookkeeping of bad block stats. This patch refactors the 3 users of the block_markbad interface (plus the default nand_base implementation) so that the common code is kept in nand_block_markbad_lowlevel(). It removes some inconsistencies between the various implementations and should allow for more centralized improvements in the future. Because gpmi-nand no longer needs the nand_update_bbt() function, let's stop exporting it as well. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Huang Shijie <b32955@freescale.com> (for gpmi-nand parts) 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