Skip to content

mtd: nand: cleanups to BBT

Brian Norris linux-mtd 2 versions – Applied

Status from this message: Pushed to l2-mtd.git, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyApplied
  2. v14 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Split up first patch into 3 patches, according to Ezequiel's comments. Hopefully this makes it easier to read and review.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6mtd: nand: add accessors, macros for in-memory BBTdrivers/mtd/nand/nand_bbt.c+48 -220 replies
2/6mtd: nand: remove multiplied-by-2 block logicdrivers/mtd/nand/nand_bbt.c+35 -480 replies
3/6mtd: nand: eliminate castdrivers/mtd/nand/nand_bbt.c+2 -30 replies
4/6mtd: nand: refactor chip->block_markbad interfacedrivers/mtd/nand/docg4.c drivers/mtd/nand/gpmi-nand/gpmi-nand.c drivers/mtd/nand/nand_base.c +2 more+72 -750 replies
5/6mtd: nand: hide in-memory BBT implementation detailsdrivers/mtd/nand/nand_base.c drivers/mtd/nand/nand_bbt.c include/linux/mtd/nand.h+38 -240 replies
6/6mtd: nand: remove NAND_BBT_SCANEMPTYDocumentation/DocBook/mtdnand.tmpl drivers/mtd/nand/nand_bbt.c drivers/mtd/nand/omap2.c +2 more+6 -340 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchHuang Shijie
1/6
2/6
3/6
4/6A-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] mtd: nand: cleanups to BBT

Hi all,

This is v2 of my NAND BBT cleanup. The net diff is exactly the same as v1, but it splits up a few logical changes.

v1 -> v2:
Split up first patch into 3 patches, according to Ezequiel's comments. Hopefully this makes it easier to read and review.

Brian Norris (6):
mtd: nand: add accessors, macros for in-memory BBT
mtd: nand: remove multiplied-by-2 block logic
mtd: nand: eliminate cast
mtd: nand: refactor chip->block_markbad interface
mtd: nand: hide in-memory BBT implementation details
mtd: nand: remove NAND_BBT_SCANEMPTY

 Documentation/DocBook/mtdnand.tmpl     |    2 -
 drivers/mtd/nand/docg4.c               |    6 -
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c |   44 +++-----
 drivers/mtd/nand/nand_base.c           |  113 ++++++++++---------
 drivers/mtd/nand/nand_bbt.c            |  194 +++++++++++++++++---------------
 drivers/mtd/nand/omap2.c               |    2 +-
 drivers/mtd/nand/sm_common.c           |    9 +-
 drivers/mtd/onenand/onenand_bbt.c      |    1 -
 include/linux/mtd/bbm.h                |    2 -
 include/linux/mtd/nand.h               |    2 +-
 10 files changed, 185 insertions(+), 190 deletions(-)
Signature · 1 line
1.7.9.5