1. 25 10月, 2010 11 次提交
  2. 21 8月, 2010 1 次提交
  3. 19 8月, 2010 1 次提交
  4. 11 8月, 2010 2 次提交
    • R
      mtd/nand_base: fix kernel-doc warnings & typos · b6d676db
      Randy Dunlap 提交于
      Fix mtd/nand_base.c kernel-doc warnings and typos.
      
      Warning(drivers/mtd/nand/nand_base.c:893): No description found for parameter 'mtd'
      Warning(drivers/mtd/nand/nand_base.c:893): No description found for parameter 'ofs'
      Warning(drivers/mtd/nand/nand_base.c:893): No description found for parameter 'len'
      Warning(drivers/mtd/nand/nand_base.c:893): No description found for parameter 'invert'
      Warning(drivers/mtd/nand/nand_base.c:930): No description found for parameter 'mtd'
      Warning(drivers/mtd/nand/nand_base.c:930): No description found for parameter 'ofs'
      Warning(drivers/mtd/nand/nand_base.c:930): No description found for parameter 'len'
      Warning(drivers/mtd/nand/nand_base.c:987): No description found for parameter 'mtd'
      Warning(drivers/mtd/nand/nand_base.c:987): No description found for parameter 'ofs'
      Warning(drivers/mtd/nand/nand_base.c:987): No description found for parameter 'len'
      Warning(drivers/mtd/nand/nand_base.c:2087): No description found for parameter 'len'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b6d676db
    • R
      mtd/nand_base: fix kernel-doc warnings & typos · db9ebb7c
      Randy Dunlap 提交于
      Fix mtd/nand_base.c kernel-doc warnings and typos.
      
      Warning(drivers/mtd/nand/nand_base.c:893): No description found for parameter 'mtd'
      Warning(drivers/mtd/nand/nand_base.c:893): No description found for parameter 'ofs'
      Warning(drivers/mtd/nand/nand_base.c:893): No description found for parameter 'len'
      Warning(drivers/mtd/nand/nand_base.c:893): No description found for parameter 'invert'
      Warning(drivers/mtd/nand/nand_base.c:930): No description found for parameter 'mtd'
      Warning(drivers/mtd/nand/nand_base.c:930): No description found for parameter 'ofs'
      Warning(drivers/mtd/nand/nand_base.c:930): No description found for parameter 'len'
      Warning(drivers/mtd/nand/nand_base.c:987): No description found for parameter 'mtd'
      Warning(drivers/mtd/nand/nand_base.c:987): No description found for parameter 'ofs'
      Warning(drivers/mtd/nand/nand_base.c:987): No description found for parameter 'len'
      Warning(drivers/mtd/nand/nand_base.c:2087): No description found for parameter 'len'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      db9ebb7c
  5. 09 8月, 2010 1 次提交
  6. 02 8月, 2010 4 次提交
  7. 14 5月, 2010 2 次提交
    • K
      mtd: nand: support alternate BB marker locations on MLC · b60b08b0
      Kevin Cernekee 提交于
      This is a slightly modified version of a patch submitted last year by
      Reuben Dowle <reuben.dowle@navico.com>.  His original comments follow:
      
      This patch adds support for some MLC NAND flashes that place the BB
      marker in the LAST page of the bad block rather than the FIRST page used
      for SLC NAND and other types of MLC nand.
      
      Lifted from Samsung datasheet for K9LG8G08U0A (1Gbyte MLC NAND):
      "
      Identifying Initial Invalid Block(s)
      All device locations are erased(FFh) except locations where the initial
      invalid block(s) information is written prior to shipping. The initial
      invalid block(s) status is defined by the 1st byte in the spare area.
      Samsung makes sure that the last page of every initial invalid block has
      non-FFh data at the column address of 2,048.
      ...
      "
      
      As far as I can tell, this is the same for all Samsung MLC nand, and in
      fact the samsung bsp for the processor used in our project (s3c6410)
      actually contained a hack similar to this patch but less portable to
      enable use of their NAND parts. I discovered this problem when trying to
      use a Micron NAND which does not used this layout - I wish samsung would
      put their stuff in main-line to avoid this type of problem.
      
      Currently this patch causes all MLC nand with manufacturer codes from
      Samsung and ST(Numonyx) to use this alternative location, since these
      are the manufactures that I know of that use this layout.
      Signed-off-by: NKevin Cernekee <cernekee@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      b60b08b0
    • K
      mtd: nand: extend NAND flash detection to new MLC chips · 426c457a
      Kevin Cernekee 提交于
      Some of the newer MLC devices have a 6-byte ID sequence in which
      several field definitions differ from older chips in a manner that is
      not backward compatible.  For instance:
      
      Samsung K9GAG08U0M (5-byte sequence): ec d5 14 b6 74
      4th byte, bits 1:0 encode the page size: 0=1KiB, 1=2KiB, 2=4KiB, 3=8KiB
      4th byte, bits 5:4 encode the block size: 0=64KiB, 1=128KiB, ...
      4th byte, bit 6 encodes the OOB size: 0=8B/512B, 1=16B/512B
      
      Samsung K9GAG08U0D (6-byte sequence): ec d5 94 29 34 41
      4th byte, bits 1:0 encode the page size: 0=2KiB, 1=4KiB, 3=8KiB, 4=rsvd
      4th byte, bits 7;5:4 encode the block size: 0=128KiB, 1=256KiB, ...
      4th byte, bits 6;3:2 encode the OOB size: 1=128B/page, 2=218B/page
      
      This patch uses the new 6-byte scheme if the following conditions are
      all true:
      
      1) The ID code wraps around after exactly 6 bytes
      
      2) Manufacturer is Samsung
      
      3) 6th byte is zero
      
      The patch also extends the maximum OOB size from 128B to 256B.
      Signed-off-by: NKevin Cernekee <cernekee@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      426c457a
  8. 27 2月, 2010 7 次提交
  9. 26 2月, 2010 2 次提交
  10. 30 11月, 2009 3 次提交
  11. 24 9月, 2009 1 次提交
    • J
      mtd: nand: fix htmldocs warnings · 58475fb9
      Jaswinder Singh Rajput 提交于
      Fixed following htmldocs warnings:
      
        DOCPROC Documentation/DocBook/mtdnand.xml
        Warning(drivers/mtd/nand/nand_base.c:769): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:785): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:824): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:947): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:996): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:1040): No description found for parameter 'page'
      Signed-off-by: NJaswinder Singh Rajput <jaswinderrajput@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      58475fb9
  12. 20 9月, 2009 2 次提交
  13. 04 9月, 2009 3 次提交