1. 23 5月, 2006 4 次提交
    • J
      [MTD] Introduce MTD_BIT_WRITEABLE · 5fa43394
      Joern Engel 提交于
      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: NJoern Engel <joern@wh.fh-wedel.de>
      5fa43394
    • J
      [MTD] Merge STMicro NOR_ECC code with Intel Sibley code · c8b229de
      Joern Engel 提交于
      In 2002, STMicro started producing NOR flashes with internal ECC protection
      for small blocks (8 or 16 bytes).  Support for those flashes was added by me.
      In 2005, Intel Sibley flashes copied this strategy and Nico added support for
      those.  Merge the code for both.
      Signed-off-by: NJoern Engel <joern@wh.fh-wedel.de>
      c8b229de
    • J
      [MTD] Introduce writesize · 28318776
      Joern Engel 提交于
      At least two flashes exists that have the concept of a minimum write unit,
      similar to NAND pages, but no other NAND characteristics.  Therefore, rename
      the minimum write unit to "writesize" for all flashes, including NAND.
      Signed-off-by: NJoern Engel <joern@wh.fh-wedel.de>
      28318776
    • J
      [MTD] Use single flag to mark writeable devices. · 8ca9ed5d
      Joern Engel 提交于
      Two flags exist to decide whether a device is writeable or not.  None of
      those two flags is checked for independently, so they are clearly redundant,
      if not an invitation to bugs.  This patch removed both of them, replacing
      them with a single new flag.
      Signed-off-by: NJoern Engel <joern@wh.fh-wedel.de>
      8ca9ed5d
  2. 22 5月, 2006 10 次提交
  3. 21 5月, 2006 14 次提交
  4. 20 5月, 2006 6 次提交
  5. 19 5月, 2006 1 次提交
    • D
      [JFFS2] Support new device nodes · aef9ab47
      David Woodhouse 提交于
      Device node major/minor numbers are just stored in the payload of a single
      data node. Just extend that to 4 bytes and use new_encode_dev() for it.
      
      We only use the 4-byte format if we _need_ to, if !old_valid_dev(foo).
      This preserves backwards compatibility with older code as much as
      possible. If we do make devices with major or minor numbers above 255, and
      then mount the file system with the old code, it'll just read the first
      two bytes and get the numbers wrong. If it comes to garbage-collect it,
      it'll then write back those wrong numbers. But that's about the best we
      can expect.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      aef9ab47
  6. 18 5月, 2006 3 次提交
  7. 17 5月, 2006 2 次提交