[PATCH 0/8] NAND and NAND-BBT improvements

Brian Norris computersforpeace at gmail.com
Fri Jun 22 19:35:37 EDT 2012


Hi,

This series includes several assorted changes to MTD, NAND, and NAND-BBT code.
I wanted to get these out there now, as I will be off the radar for the next
week. These aren't too thoroughly tested, but for those that are somewhat
obvious, feel free to merge them. Others are meant for some discussion; feel
free to improve them and resubmit yourself.

Of note: the first two patches address a problem with mtd_read_oob() and the
recent max_bitflips changes by Mike Dunn. If they are satisfactory, it may be
worth merging them in the 3.5-rc cycle, as they help avoid an API inconsistency
that recently emerged.

"mtd: nand: use ECC, if present, when scanning OOB"
This patch may not be needed/wanted, as it affects the NAND_BBT_ABSPAGE
codepath. Refer to previous discussions with Mike Dunn regarding diskonchip.c.

Regards,
Brian

Brian Norris (8):
  mtd: move mtd_read_oob() definition out of mtd.h
  mtd: check for max_bitflips in mtd_read_oob()
  mtd: nand: rename "no_bbt" descriptors to "no_oob"
  mtd: nand: remove unused 'int' return codes
  mtd: nand: rename '_raw' BBT scan functions
  mtd: nand_bbt: refactor check_pattern_no_oob()
  mtd: nand_bbt: use string library
  mtd: nand: use ECC, if present, when scanning OOB

 drivers/mtd/mtdcore.c       |   21 +++++++++
 drivers/mtd/nand/nand_bbt.c |  108 +++++++++++++++++++++----------------------
 include/linux/mtd/mtd.h     |    9 +---
 3 files changed, 75 insertions(+), 63 deletions(-)

-- 
1.7.10




More information about the linux-mtd mailing list