]> www.infradead.org Git - mtd-utils.git/commit
nandwrite: re-implement `--autoplace' option
authorBrian Norris <computersforpeace@gmail.com>
Wed, 31 Aug 2011 20:00:38 +0000 (13:00 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 13:11:41 +0000 (16:11 +0300)
commite3867cfa7cbfab9c2aa192ad6969afb438fc0136
tree5a559f21ed5e466abead7a72e7bdee1498ca9ba0
parent647e385da091396a42617232ad3e59734bca110a
nandwrite: re-implement `--autoplace' option

The restructuring of mtd_write() has allowed us to use `--autoplace'
somewhat successfully; it is supported by the new ioctl(MEMWRITE) as
well as some legacy code utilizing the deprecated ioctl(MEMGETOOBSEL).

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