]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] Introduce MTD_BIT_WRITEABLE
authorJoern Engel <joern@wh.fh-wedel.de>
Mon, 22 May 2006 21:18:29 +0000 (23:18 +0200)
committerJoern Engel <joern@wh.fh-wedel.de>
Mon, 22 May 2006 21:18:29 +0000 (23:18 +0200)
commit20325e0a2016cb325061e1c8eacba312b25b004d
tree29a2691729645bf27fd2d7d8d61a5c720c6569c1
parent71532c39aec9930461c2ffbdc26acf7c201cec91
[MTD] Introduce MTD_BIT_WRITEABLE

o Add a flag MTD_BIT_WRITEABLE for devices that allow single bits to be
  cleared.
o Replace MTD_PROGRAM_REGIONS with a cleared MTD_BIT_WRITEABLE flag for
  STMicro and Intel Sibley flashes with internal ECC.  Those flashes
  disallow clearing of single bits, unlike regular NOR flashes, so the
  new flag models their behaviour better.
o Remove MTD_ECC.  After the STMicro/Sibley merge, this flag is only set
  and never checked.

Signed-off-by: Joern Engel <joern@wh.fh-wedel.de>
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0020.c
drivers/mtd/nand/nand_base.c
drivers/mtd/onenand/onenand_base.c
fs/jffs2/os-linux.h
include/mtd/mtd-abi.h