]> 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>
Mon, 11 Mar 2013 07:33:26 +0000 (09:33 +0200)
commit66a6c1e3bf6f60ac3400d21f31492e9ea71ba8ff
treefff5fbc84a18973e9187eded2cfe828b58a2e24a
parent04939ae4f5c6f7d5f98e334620f0986dadd0d5e6
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