]> err.no Git - linux-2.6/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)
commit5fa433942ba4e399f7e28764c9db4ade89e91d40
tree29a2691729645bf27fd2d7d8d61a5c720c6569c1
parentc8b229de2b05c2b3e8d282ce260935a88ac030ca
[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