diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-23 12:07:53 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-05-16 13:39:47 +0200 |
commit | a69cbf0f74015993d749bdfe1a80f4b5a8bb6dc3 (patch) | |
tree | 7254f673f1aa5c86ee1dd9f2b0c9684235919f11 /src/flash/nor/tms470.c | |
parent | 61bb0d3d235c659eb407a7032aa9ec70a914dc03 (diff) | |
download | openocd+libswd-a69cbf0f74015993d749bdfe1a80f4b5a8bb6dc3.tar.gz openocd+libswd-a69cbf0f74015993d749bdfe1a80f4b5a8bb6dc3.tar.bz2 openocd+libswd-a69cbf0f74015993d749bdfe1a80f4b5a8bb6dc3.tar.xz openocd+libswd-a69cbf0f74015993d749bdfe1a80f4b5a8bb6dc3.zip |
NOR/CFI: use bus_width for memory access on flash ID.
NOR flash structure requires each access to be bus_width wide.
Fix read of flash ID accordingly to rule above.
Add case (chip_width == 4), allowed by CFI spec and coherent
with current value of CFI_MAX_CHIP_WIDTH but currently not
used by any target.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/tms470.c')
0 files changed, 0 insertions, 0 deletions