diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-20 10:43:32 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-20 10:43:32 -0800 |
commit | 6f2b88448fff59d00f625d0d361a7b9abf6bd673 (patch) | |
tree | 1c674b4e7a67de3e08c55d7c1f9351f656e9791d /guess-rev.sh | |
parent | d036f1700171e0f8056d616a198f17b9be5719e0 (diff) | |
download | openocd_libswd-6f2b88448fff59d00f625d0d361a7b9abf6bd673.tar.gz openocd_libswd-6f2b88448fff59d00f625d0d361a7b9abf6bd673.tar.bz2 openocd_libswd-6f2b88448fff59d00f625d0d361a7b9abf6bd673.tar.xz openocd_libswd-6f2b88448fff59d00f625d0d361a7b9abf6bd673.zip |
gdb_server: correctly report flash sector sizes
Report each region of same-size sectors separately, instead of
incorrectly reporting that every sector has the same size.
This is a longstanding bug on NOR flash chips with non-uniform
sector sizes. It was largely hidden by other bugs in flash
handling. When some of those were recently fixed, this one was
exposed as a regression on str710.
[oyvind.harboe@zylin.com: update the loop to behave on str7 ]
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'guess-rev.sh')
0 files changed, 0 insertions, 0 deletions