summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-20 10:43:32 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-20 10:43:32 -0800
commit6f2b88448fff59d00f625d0d361a7b9abf6bd673 (patch)
tree1c674b4e7a67de3e08c55d7c1f9351f656e9791d /src/flash/nor
parentd036f1700171e0f8056d616a198f17b9be5719e0 (diff)
downloadopenocd_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 'src/flash/nor')
0 files changed, 0 insertions, 0 deletions