]> www.infradead.org Git - mtd-utils.git/commit
libmtd: support MEMWRITE ioctl
authorBrian Norris <computersforpeace@gmail.com>
Wed, 31 Aug 2011 20:00:34 +0000 (13:00 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 13:11:41 +0000 (16:11 +0300)
commit6a8889fbc0ea7a198628c9e3901fd88038e12d09
tree9293d25f13f6f1d9effa61638353cb47896976ae
parentcd42aea270e84884e6bbac845414568f0febbedf
libmtd: support MEMWRITE ioctl

`mtd_write()' now will first attempt to use MEMWRITE. Then, if that
doesn't exist, it will attempt to fall back to old methods for writing
OOB and/or page data.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
lib/libmtd.c