Files
u-boot-tk1-som/include
Wolfgang Grandegger a75a57ef6e NAND FSL UPM: driver re-write using the hwcontrol callback
This is a re-write of the NAND FSL UPM driver using the more universal
hwcontrol callback (instead of the cmdfunc callback). Here is a brief
list of furher modifications:

- For the time being, the UPM setup writing the UPM array has been
  removed from the driver and must now be done by the board specific
  code.

- The bus width definition in "struct fsl_upm_nand" is now in bits to
  comply with the corresponding Linux driver and 8, 16 and 32 bit
  accesses are supported.

- chip->dev_read is only set if fun->dev_ready != NULL, which is
  required for boards not connecting the R/B pin.

- A few issue have been fixed with MxMR bit manipulation like in the
  corresponding Linux driver.

Note: I think the "io_addr" field of "struct fsl_upm" could be removed
      as well, because the address is already determined by
      "nand->IO_ADDR_[RW]", but I'm not 100% sure.

This patch has been tested on a TQM8548 modules with the NAND chip
Micron MT29F8G08FABWP.

This patch is based on the following patches posted to this list a few
minutes ago:

  PPC: add accessor macros to clear and set bits in one shot
  83xx/85xx/86xx: add more MxMR local bus definitions

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Anton Vorontsov <avorontsov@ru.mvista.com>
2008-06-10 18:22:26 -05:00
..
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-04-13 14:52:48 -07:00
2008-05-21 00:14:08 +02:00
2007-08-14 18:42:36 +02:00
2004-10-10 18:03:33 +00:00
2007-05-15 23:38:05 +02:00
2008-05-10 11:44:55 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2006-04-16 10:51:58 +02:00
2008-04-18 00:24:05 -07:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2004-12-16 17:33:10 +00:00
2008-05-21 00:14:08 +02:00
2008-03-27 23:49:12 +01:00
2008-03-26 23:38:54 +01:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-10 11:44:55 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-01-11 16:05:36 +01:00
2008-06-10 18:22:25 -05:00
2008-05-21 00:14:08 +02:00
2008-03-02 21:44:59 +01:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2004-10-10 21:27:30 +00:00
2004-05-19 21:33:14 +00:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2006-07-19 13:50:38 +02:00
2008-03-27 00:03:57 +01:00
2008-05-21 00:14:08 +02:00
2008-05-10 00:59:57 +02:00
2008-05-20 23:24:37 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2004-03-25 15:14:43 +00:00
2008-05-21 00:14:08 +02:00
2006-06-26 10:54:52 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-04-13 14:57:46 -07:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2005-09-22 09:04:17 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-06-03 20:31:34 +02:00
2008-06-03 20:28:50 +02:00
2007-10-13 21:15:39 +02:00
2008-04-13 14:52:48 -07:00
2008-05-21 00:14:08 +02:00
2004-02-23 16:11:30 +00:00
2004-12-16 21:44:03 +00:00
2006-06-14 18:14:56 +02:00
2008-03-27 00:12:56 +01:00
2008-05-21 00:14:08 +02:00
2006-06-14 17:45:53 +02:00
2006-06-14 18:14:56 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2005-09-23 11:05:55 +02:00
2008-05-21 00:14:08 +02:00
2006-07-21 15:24:56 +02:00