mtd: m25p80: add support for AAI programming with SST SPI flashes
authorGraf Yang <graf.yang@analog.com>
Mon, 15 Jun 2009 08:23:41 +0000 (08:23 +0000)
committerMatt Sealey <matt@genesi-usa.com>
Fri, 29 Oct 2010 19:15:38 +0000 (14:15 -0500)
commitf357d7e3174d1a36361837f441705cca371dfc75
tree8119f81fc8bfc3cd51c3b2471893336e0ea44f99
parentee6421205d1fdadf0e7faabd417180d5b2347cb5
mtd: m25p80: add support for AAI programming with SST SPI flashes

The SST SPI flashes are a bit non-standard in that they can be programmed
one byte at a time (including address!), or they can be written two bytes
at a time with auto address incrementing (AAI).  The latter form is
obviously much better for performance, so let's use it when possible.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c