1. 02 9月, 2008 1 次提交
    • E
      [MTD] [NAND] pxa3xx_nand: moved nand definitions into shared platform header · 43035338
      Enrico Scholz 提交于
      This patch moves the exported datastructures from the pxa3xx_nand.c driver
      into the <mach/pxa3xx_nand.h> header. This is a plain movement without
      any modification of the attributes.
      
      This is the first one of a set of patches which:
      
       * allows to specify used NAND flash in the platform code and allows to turn
         off the old way to specify NAND characteristics in the driver.  This way did
         not worked well as these characteristics depend on the platform and can not be
         derived from NAND id alone.
      
         E.g.  some NAND chips share the same ID (e.g.  K9K8G08U0A and K9NBG08U5A) but
         have different timings (which are written in the common driver currently and
         must be modified there).
      
       * adds 'const' annotations at various places
      
      Further patches will be sent to the mtd-list.
      Signed-off-by: NEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      43035338
  2. 07 8月, 2008 1 次提交
  3. 10 7月, 2008 1 次提交
  4. 23 4月, 2008 1 次提交
    • E
      [MTD] [NAND] support for pxa3xx · fe69af00
      eric miao 提交于
      This is preliminary since:
      
      1. It supports only _one_ chip select at the moment. As there is no
         existing platforms available using two chip selects of the NAND
         controller, it shall really not include code for supporting the
         2nd chip select for now, as such code cannot be verified.
      
      2. It resorts to the default and simpliest memory based badblock
         table
      
      3. Only limited types of nand flash are currently supported. Most
         PXA3xx processors come with on-chip NAND flash dies, so there
         isn't much flexibility for other types of NAND.
      
      4. The NAND controller should be configured to detect the device's
         ID, thus making it difficult to use nand_scan_ident() to assist
         the detection process (though it's not impossible)
      
      TODO: fix all the above limitations of cuz :-)
      Signed-off-by: Neric miao <eric.miao@marvell.com>
      Cc: Sergey Podstavin <spodstavin@ru.mvista.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      fe69af00