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)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 19 Sep 2009 20:10:16 +0000 (13:10 -0700)
commit49aac4aec53c523f16343b4668a5a239b69659f1
treea43ad86944551dc05b94058359fdef8a623c7055
parent80f53da0ac752fe16a01ffeddaea658670974a05
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