flashbench: implement write opcodes in vm

This makes it possible to use three kinds of
write operations, writing zero-, one- or
somwhat random contents. Many media have different
characteristics depending on the kind of content.

Signed-off-by: Arnd Bergmann <[email protected]>
2 files changed
tree: 42b2daea7753c15652f54523bd553d0356fdbb13
  1. dev.c
  2. dev.h
  3. flashbench.c
  4. Makefile
  5. vm.c
  6. vm.h