]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: m25p80: introduce SST_WRITE flag for SST byte programming
authorKrzysztof Mazur <krzysiek@podlesie.net>
Fri, 22 Feb 2013 14:51:05 +0000 (15:51 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 19 Mar 2013 08:22:29 +0000 (10:22 +0200)
commit89d0443dddc48c1d6e6f0bf07e4fbb34f4b92373
treeb804ce71ff27c06f2a342f0c587eb779acdb385b
parent3d23ce57fa5afedb8f4def9575037ca8761c6208
mtd: m25p80: introduce SST_WRITE flag for SST byte programming

Not all SST devices implement the SST byte programming command.
Some devices (like SST25VF064C) implement only standard m25p80 page
write command.

Now SPI flash devices that need sst_write() are explicitly marked
with new SST_WRITE flag and the decision to use sst_write() is based
on this flag instead of manufacturer id.

Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/devices/m25p80.c