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)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 11:24:39 +0000 (12:24 +0100)
commite534ee4f9ca29fdb38eea4b0c53f2154fbd8c1ee
tree30380bb99c78f964da11d2ec090d19cb27e626c5
parent05ff8c258c76dd469232a03ec8d45f7e7267e0ac
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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c