summaryrefslogtreecommitdiff
path: root/tools/xsvf_tools
diff options
context:
space:
mode:
authorAntonio 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
commit34f70956ed31c2739d34bae23fa6ca620e5299f8 (patch)
tree4a922c4ac7f5537fb9319e1684ec4c9319d40c13 /tools/xsvf_tools
parenta69cbf0f74015993d749bdfe1a80f4b5a8bb6dc3 (diff)
downloadopenocd_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 'tools/xsvf_tools')
0 files changed, 0 insertions, 0 deletions