diff options
| author | Eric Blake | 2016-05-06 18:26:36 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-05-12 15:22:09 +0200 |
| commit | 9fc0d361cc412251500cfe3fe9a548a363c635be (patch) | |
| tree | 9aa5cfbfc5fa96c206a0a32392dfc8cc6d64285b /scripts | |
| parent | fdc: Switch to byte-based block access (diff) | |
| download | qemu-9fc0d361cc412251500cfe3fe9a548a363c635be.tar.gz qemu-9fc0d361cc412251500cfe3fe9a548a363c635be.tar.xz 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')
0 files changed, 0 insertions, 0 deletions
