1. 25 5月, 2011 7 次提交
  2. 21 5月, 2011 2 次提交
  3. 14 4月, 2011 1 次提交
  4. 31 3月, 2011 1 次提交
  5. 12 3月, 2011 1 次提交
    • I
      mtd: nand: add software BCH ECC support · 193bd400
      Ivan Djelic 提交于
      This patch adds software BCH ECC support to mtd, in order to handle recent
      NAND device ecc requirements (4 bits or more).
      
      It does so by adding a new ecc mode (NAND_ECC_SOFT_BCH) for use by board
      drivers, and a new Kconfig option to enable BCH support. It relies on the
      generic BCH library introduced in a previous patch.
      
      When a board driver uses mode NAND_ECC_SOFT_BCH, it should also set fields
      chip->ecc.size and chip->ecc.bytes to select BCH ecc data size and required
      error correction capability. See nand_bch_init() documentation for details.
      
      It has been tested on the following platforms using mtd-utils, UBI and
      UBIFS: x86 (with nandsim), arm926ejs.
      Signed-off-by: NIvan Djelic <ivan.djelic@parrot.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      193bd400
  6. 11 3月, 2011 4 次提交
  7. 08 3月, 2011 2 次提交
  8. 18 2月, 2011 1 次提交
  9. 06 1月, 2011 2 次提交
    • A
      mtd: add writebufsize field to mtd_info struct · 0e4ca7e5
      Anatolij Gustschin 提交于
      This field will be used to indicate the write buffer size
      of the MTD device. UBI will set it's minimal I/O unit size
      (min_io_size) to the indicated write buffer size. By this
      change we intend to fix failed recovery of UBIFS partitions
      we currently observe on NOR flash when mounting the partition
      after unclean unmount.
      
      Currently the min_io_size is set to mtd->writesize (which is 1
      byte for NOR flash). But flash programming is often done from
      prepared write buffer containing multiple bytes and is performed
      in one programming operation which could be interrupted by a power
      cut or a system reset causing corrupted (partially written) areas
      in a flash sector. Knowing the size of potentially corrupted areas
      UBIFS scanning and recovery algorithms are able to perform
      successful recovery.
      
      In case of NOR flash minimal I/O size must be equal to the
      maximal size of the write buffer used by embedded flash
      programming algorithm. In case of NAND flash mtd->writebufsize
      should be equivalent to mtd->writesize.
      
      The subsequent patches will add mtd->writebufsize initialization
      where needed.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      0e4ca7e5
    • A
      mtd: OneNAND: add enable / disable methods to onenand_chip · cf24dc85
      Adrian Hunter 提交于
      Add enable / disable methods called from get_device() / release_device().
      These can be used, for example, to allow the driver to prevent the voltage
      regulator from being put to sleep while OneNAND is in use.
      Signed-off-by: NAdrian Hunter <adrian.hunter@nokia.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      cf24dc85
  10. 04 12月, 2010 7 次提交
  11. 29 10月, 2010 1 次提交
  12. 26 10月, 2010 1 次提交
  13. 25 10月, 2010 10 次提交