diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-05-07 13:50:42 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-05-16 13:39:47 +0200 |
commit | 34f70956ed31c2739d34bae23fa6ca620e5299f8 (patch) | |
tree | 4a922c4ac7f5537fb9319e1684ec4c9319d40c13 /src/flash/nor/tms470.c | |
parent | a69cbf0f74015993d749bdfe1a80f4b5a8bb6dc3 (diff) | |
download | openocd+libswd-34f70956ed31c2739d34bae23fa6ca620e5299f8.tar.gz openocd+libswd-34f70956ed31c2739d34bae23fa6ca620e5299f8.tar.bz2 openocd+libswd-34f70956ed31c2739d34bae23fa6ca620e5299f8.tar.xz openocd+libswd-34f70956ed31c2739d34bae23fa6ca620e5299f8.zip |
NOR/CFI: use bus_width for memory access in cfi_write()
During cfi_write(), head and tail of destination area
could be not aligned to bus_width.
Since write operation must be at bus_width size, source
buffer size is extended and buffer padded with current
values read from flash.
Force using bus_width to read current value from flash.
Do not use cfi_add_byte() anymore, to allow removing this
function later on.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/tms470.c')
0 files changed, 0 insertions, 0 deletions