aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2019-03-02 09:51:23 +0100
committerMatthias Welwarsky <matthias@welwarsky.de>2019-03-27 08:53:29 +0000
commit21ef7e30d4f47a78e2b3aacedd425f0966465352 (patch)
tree86c9fdd15481914b11b4d6df91bbfa86338fb6da /tools
parentbc72695f6738951571502706bd48680de5ccc84c (diff)
downloadriscv-openocd-21ef7e30d4f47a78e2b3aacedd425f0966465352.zip
riscv-openocd-21ef7e30d4f47a78e2b3aacedd425f0966465352.tar.gz
riscv-openocd-21ef7e30d4f47a78e2b3aacedd425f0966465352.tar.bz2
flash/nor/core: adjust flash_iterate_address_range_inner() for 64-bit
Use target_addr_t exclusively for comparison of sector boudaries and address range. Use the last addres for both address range end and sector end. It avoids problems with a flash bank mapped at the very end of target address space. Change-Id: Idf97c837453d97cbc4cf8a1c76ad799f4142f19e Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/4985 Tested-by: jenkins Reviewed-by: Tim Newsome <tim@sifive.com> Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions