summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/mkvol_bad.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-08-19 10:07:51 -0700
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-08-23 09:27:49 +0300
commitc20007ec9f9cd325c1dfb103a409b2ef18bf85d7 (patch)
treebbcf8975221348adadf30f1a3e1608736244b4c9 /tests/ubi-tests/mkvol_bad.c
parentac683ce690da1be1e8b79377f1e777882aeb13e7 (diff)
nandwrite: remove `autoplace' features
The `autoplace' option was meant to force an MTD_OOB_AUTO layout while writing to flash. This option has not been properly supported for a very long time, as the necessary ioctl, MEMSETOOBSEL, has been removed. Apparently nobody uses this option. Kill it. Other code depends on the availability of the `old_oobinfo' data, so we move some code within a block that handles autoplacement if it's *already* enabled. This, however, is inconsistent and should be cleaned up shortly. Note: this option may be re-implemented in the near future with the addition of a new ioctl that allows on-the-fly chaning of MTD OOB modes. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'tests/ubi-tests/mkvol_bad.c')
0 files changed, 0 insertions, 0 deletions