summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-05-06 10:26:36 -0600
committerKevin Wolf <kwolf@redhat.com>2016-05-12 15:22:09 +0200
commit9fc0d361cc412251500cfe3fe9a548a363c635be (patch)
tree9aa5cfbfc5fa96c206a0a32392dfc8cc6d64285b /scripts/qapi-commands.py
parenta7a5b7c0fc4caeeda59b4bc91d467c4c98db79cf (diff)
downloadfocaccia-qemu-9fc0d361cc412251500cfe3fe9a548a363c635be.tar.gz
focaccia-qemu-9fc0d361cc412251500cfe3fe9a548a363c635be.zip
nand: Switch to byte-based block access
Sector-based blk_write() should die; switch to byte-based
blk_pwrite() instead.  Likewise for blk_read().

This file is doing some complex computations to map various
flash page sizes (256, 512, and 2048) atop generic uses of
512-byte sector operations.  Perhaps someone will want to tidy
up the file for fewer gymnastics in managing addresses and
offsets, and less wasteful visits of 256-byte pages, but it
was out of scope for this series, where I just went with the
mechanical conversion.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions