Skip to content

clean-up NAND / BBT code, flags

Brian Norris linux-arm-kernel linux-mtd 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8mtd: nand: remove NAND_BBT_SCANBYTE1AND6 optiondrivers/mtd/nand/nand_base.c drivers/mtd/nand/nand_bbt.c include/linux/mtd/bbm.h+6 -570 replies
2/8mtd: nand: separate chip options / bbt_optionsdrivers/mtd/nand/nand_base.c drivers/mtd/nand/nand_bbt.c include/linux/mtd/nand.h+11 -80 replies
3/8mtd: nand: consolidate redundant flash-based BBT flagsDocumentation/DocBook/mtdnand.tmpl arch/arm/mach-davinci/board-da830-evm.c arch/arm/mach-davinci/board-da850-evm.c +29 more+62 -580 replies
4/8mtd: nand: rename NAND_USE_FLASH_BBTDocumentation/DocBook/mtdnand.tmpl arch/arm/mach-davinci/board-da830-evm.c arch/arm/mach-davinci/board-da850-evm.c +28 more+37 -370 replies
5/8mtd: nand: move NAND_CREATE_EMPTY_BBT flagdrivers/mtd/nand/nand_bbt.c include/linux/mtd/bbm.h include/linux/mtd/nand.h+8 -30 replies
6/8mtd: nand: rename CREATE_EMPTY bbt flag with proper prefixdrivers/mtd/nand/nand_bbt.c include/linux/mtd/bbm.h+2 -20 replies
7/8mtd: nand: renumber the reorganized flags in nand.h / bbm.hinclude/linux/mtd/bbm.h include/linux/mtd/nand.h+15 -140 replies
8/8mtd: nand: improve comment on NAND_BBT_DYNAMIC_STRUCTinclude/linux/mtd/bbm.h+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] clean-up NAND / BBT code, flags

Hello,

This patch series handles several issues with NAND chip flags and BBT flags, especially those related to the nand_chip.options and nand_bbt_descr.options fields. This topic was discussed and reviewed a bit on the linux-mtd thread found here:

    http://lists.infradead.org/pipermail/linux-mtd/2011-April/035146.html

These changes have affected many drivers in relatively small ways, so I copied all the maintainers/contributors given by the scripts/getmaintainer.pl scripts. FYI, this patch set is based on the mtd-2.6.git repository from linux-mtd.

Also, the first patch:
mtd: nand: remove NAND_BBT_SCANBYTE1AND6 option
solves the regression issues discussed here:

    http://lists.infradead.org/pipermail/linux-mtd/2011-May/035696.html

Thanks for the review.

Brian

Brian Norris (8):
mtd: nand: remove NAND_BBT_SCANBYTE1AND6 option
mtd: nand: separate chip options / bbt_options
mtd: nand: consolidate redundant flash-based BBT flags
mtd: nand: rename NAND_USE_FLASH_BBT
mtd: nand: move NAND_CREATE_EMPTY_BBT flag
mtd: nand: rename CREATE_EMPTY bbt flag with proper prefix
mtd: nand: renumber the reorganized flags in nand.h / bbm.h
mtd: nand: improve comment on NAND_BBT_DYNAMIC_STRUCT

 Documentation/DocBook/mtdnand.tmpl             |    5 +--
 arch/arm/mach-davinci/board-da830-evm.c        |    2 +-
 arch/arm/mach-davinci/board-da850-evm.c        |    2 +-
 arch/arm/mach-davinci/board-dm355-evm.c        |    2 +-
 arch/arm/mach-davinci/board-dm355-leopard.c    |    2 +-
 arch/arm/mach-davinci/board-dm365-evm.c        |    2 +-
 arch/arm/mach-davinci/board-dm644x-evm.c       |    2 +-
 arch/arm/mach-davinci/board-mityomapl138.c     |    3 +-
 arch/arm/mach-davinci/board-neuros-osd2.c      |    2 +-
 arch/arm/mach-davinci/board-tnetv107x-evm.c    |    2 +-
 arch/arm/mach-davinci/include/mach/nand.h      |    4 +-
 arch/arm/mach-orion5x/ts78xx-setup.c           |    2 +-
 arch/cris/arch-v32/drivers/mach-a3/nandflash.c |    2 +-
 arch/cris/arch-v32/drivers/mach-fs/nandflash.c |    2 +-
 drivers/mtd/nand/atmel_nand.c                  |    2 +-
 drivers/mtd/nand/autcpu12.c                    |    4 +-
 drivers/mtd/nand/bcm_umi_nand.c                |    2 +-
 drivers/mtd/nand/cafe_nand.c                   |    3 +-
 drivers/mtd/nand/cs553x_nand.c                 |    3 +-
 drivers/mtd/nand/davinci_nand.c                |    4 +-
 drivers/mtd/nand/denali.c                      |    3 +-
 drivers/mtd/nand/diskonchip.c                  |    2 +-
 drivers/mtd/nand/fsl_elbc_nand.c               |    4 +-
 drivers/mtd/nand/mpc5121_nfc.c                 |    3 +-
 drivers/mtd/nand/mxc_nand.c                    |    2 +-
 drivers/mtd/nand/nand_base.c                   |   41 ++++------------
 drivers/mtd/nand/nand_bbt.c                    |   59 ++++++------------------
 drivers/mtd/nand/nandsim.c                     |    4 +-
 drivers/mtd/nand/pasemi_nand.c                 |    3 +-
 drivers/mtd/nand/s3c2410.c                     |    6 ++-
 include/linux/mtd/bbm.h                        |   39 +++++++++++-----
 include/linux/mtd/nand.h                       |   22 +++------
 32 files changed, 103 insertions(+), 137 deletions(-)