David Brownell fcb7747775 davinci_nand: cleanup I (minor)
Minor cleanup for DaVinci NAND code:

 - Use I/O addresses from nand_chip; CONFIG_SYS_NAND_BASE won't
   be defined when there are multiple chipselect lines in use
   (as with common 2 GByte chips).

 - Cleanup handling of EMIF control registers
    * Only need one pointer pointing to them
    * Remove incorrect and unused struct supersetting them

 - Use the standard waitfunc; we don't need a custom version

 - Partial legacy cleanup:
    * Don't initialize every board like it's a DM6446 EVM
    * #ifdef a bit more code for BROKEN_ECC

Sanity checked with small page NAND on dm355 and dm6446 EVMs;
and large page on dm355 EVM (packaged as two devices, not one).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2009-07-07 17:44:55 -05:00
..
2009-07-07 17:44:55 -05:00
2009-03-23 10:22:47 +01:00
2009-03-20 22:39:13 +01:00
2009-06-12 20:47:17 +02:00
2009-03-20 22:39:13 +01:00
2009-06-12 20:45:48 +02:00
2009-06-12 17:16:59 -05:00
2009-04-03 23:47:06 +02:00
2009-06-21 16:18:12 +02:00
2009-02-24 10:19:00 +01:00
2009-04-03 23:47:06 +02:00
2009-06-14 23:01:38 +02:00
2009-07-02 11:15:57 -05:00
2009-04-03 23:47:06 +02:00
2009-02-23 15:51:10 -06:00
2009-06-15 00:13:54 -07:00
2009-04-06 20:40:46 +02:00