[PATCH] [MTD] NAND: add ts7xxx driver

hartleys hartleys at visionengravers.com
Mon Feb 9 11:56:25 EST 2009


Sunday, February 08, 2009 1:59 AM, Alexander Clouter wrote:
> This patch adds support for the NAND found in Technologic
> Systems ARM boards[1].  The platform specific parts (IO 
>address and parititoning schemes) have been moved into
> platform specific files whilst the driver it's self can
> be used as a complete replacement for the ts7250 NAND driver.
>
> [1] http://www.embeddedarm.com/products/arm-sbc.php
>
> Signed-off-by: Alexander Clouter <alex at digriz.org.uk>

With a little work the generic plat_nand driver could probably be used
instead of this new driver or the original ts7250 driver.

The only thing special about the original ts7250 driver appears to be
the fall-back partitioning scheme that uses the size of the device to
figure out what static mtd_partition table to use.

This driver uses a similar approach but passes a callback to the
platform driver to use instead.  It also adds some conditional ecc
support.

It might be more useful to create a generic patch for plat_nand that
adds this functionality and then obsolete the old ts7250 driver.

I have been using the plat_nand driver on a custom ep93xx based board
for quite a while with no problems.

Regards,
Hartley



More information about the linux-mtd mailing list