]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] [NAND] FSL-UPM: Add wait flags to support board/chip specific delays
authorWolfgang Grandegger <wg@grandegger.com>
Mon, 30 Mar 2009 10:02:43 +0000 (12:02 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 6 Apr 2009 14:17:59 +0000 (07:17 -0700)
commitade92a636f15d7e5b92e2df22e8fcb6c7640cd4f
treea1b481b9145a5e95f190ded835ef11c5e7ae2556
parentb6e0e8c07754c8aefd6ff3536463fed5f71405a0
[MTD] [NAND] FSL-UPM: Add wait flags to support board/chip specific delays

The NAND flash on the TQM8548_BE modules requires a short delay after
running the UPM pattern. The TQM8548_BE requires a further short delay
after writing out a buffer. Normally the R/B pin should be checked, but
it's not connected on the TQM8548_BE. The existing driver uses similar
fixed delay points. To manage these extra delays in a more general way,
I introduced the "fsl,ump-wait-flags" property allowing the board-
specific driver to specify various types of extra delay.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_upm.c