linux/drivers/mtd/nand
Brian Norris a40f73419f mtd: nand: consolidate redundant flash-based BBT flags
This patch works with the following three flags from two headers (nand.h
and bbm.h):
  (1) NAND_USE_FLASH_BBT (nand.h)
  (2) NAND_USE_FLASH_BBT_NO_OOB (nand.h)
  (3) NAND_BBT_NO_OOB (bbm.h)

These flags are all related and interdependent, yet they were in
different headers. Flag (2) is simply the combination of (1) and (3) and
can be eliminated.

This patch accomplishes the following:
  * eliminate NAND_USE_FLASH_BBT_NO_OOB (i.e., flag (2))
  * move NAND_USE_FLASH_BBT (i.e., flag (1)) to bbm.h

It's important to note that because (1) and (3) are now both found in
bbm.h, they should NOT be used in the "nand_chip.options" field.

I removed a small section from the mtdnand DocBook because it referes to
NAND_USE_FLASH_BBT in nand.h, which has been moved to bbm.h.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-09-11 15:01:56 +03:00
..
Kconfig mtd: kill CONFIG_MTD_PARTITIONS 2011-05-25 02:25:35 +01:00
Makefile mtd: nand: add software BCH ECC support 2011-03-11 17:49:08 +00:00
alauda.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
ams-delta.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
atmel_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
atmel_nand_ecc.h
au1550nd.c Merge git://git.infradead.org/mtd-2.6 2011-05-27 20:06:53 -07:00
autcpu12.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
bcm_umi_bch.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
bcm_umi_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
bf5xx_nand.c mtd: bf5xx_nand: convert to mtd_device_register() 2011-05-25 02:23:15 +01:00
cafe_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
cmx270_nand.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
cs553x_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
davinci_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
denali.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
denali.h mtd: denali: detect the number of banks 2011-05-25 02:02:12 +01:00
diskonchip.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
edb7312.c mtd: edb7312 nand: convert to mtd_device_register() 2011-05-25 02:23:23 +01:00
fsl_elbc_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
fsl_upm.c mtd: fsl_upm: convert to mtd_device_register() 2011-05-25 02:23:26 +01:00
fsmc_nand.c mtd: fsmc_nand: convert to mtd_device_register() 2011-05-25 02:23:28 +01:00
gpio.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
h1910.c mtd: h1910: convert to mtd_device_register() 2011-05-25 02:23:29 +01:00
jz4740_nand.c mtd: jz4740_nand: convert to mtd_device_register() 2011-05-25 02:23:30 +01:00
mpc5121_nfc.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
mxc_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
nand_base.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
nand_bbt.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
nand_bch.c mtd: nand: add software BCH ECC support 2011-03-11 17:49:08 +00:00
nand_bcm_umi.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
nand_bcm_umi.h mtd: nand_bcm: fix hot spin and code duplication 2010-02-26 16:56:35 +00:00
nand_ecc.c Merge git://git.infradead.org/mtd-2.6 2009-12-16 10:23:43 -08:00
nand_ids.c mtd: nand: support new Toshiba SLC 2010-10-24 23:38:30 +01:00
nandsim.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
ndfc.c mtd: ndfc: convert to mtd_device_register() 2011-05-25 02:23:44 +01:00
nomadik_nand.c mtd: nomadik_nand: convert to mtd_device_register() 2011-05-25 02:23:45 +01:00
nuc900_nand.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
omap2.c mtd: omap2: convert to mtd_device_register() 2011-05-25 02:23:46 +01:00
orion_nand.c mtd: orion_nand: convert to mtd_device_register() 2011-05-25 02:23:47 +01:00
pasemi_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
plat_nand.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
ppchameleonevb.c mtd: ppchameleonevb: convert to mtd_device_register() 2011-05-25 02:23:48 +01:00
pxa3xx_nand.c mtd: pxa: convert to mtd_device_register() 2011-05-25 02:20:48 +01:00
r852.c Fix common misspellings 2011-03-31 11:26:23 -03:00
r852.h mtd: r852: remove useless pci powerup/down from suspend/resume routines 2010-10-25 01:32:21 +01:00
rtc_from4.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
s3c2410.c mtd: nand: consolidate redundant flash-based BBT flags 2011-09-11 15:01:56 +03:00
sh_flctl.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
sharpsl.c mtd: sharpsl: convert to mtd_device_register() 2011-05-25 02:23:53 +01:00
sm_common.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
sm_common.h mtd: sm_common: split smartmedia and xD table 2010-05-14 01:03:46 +01:00
socrates_nand.c mtd: socrates_nand: convert to mtd_device_register() 2011-05-25 02:23:54 +01:00
spia.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
tmio_nand.c Merge git://git.infradead.org/mtd-2.6 2011-05-27 20:06:53 -07:00
txx9ndfmc.c mtd: txx9ndfmc: convert to mtd_device_register() 2011-05-25 02:23:57 +01:00