diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2019-03-02 09:51:23 +0100 |
---|---|---|
committer | Matthias Welwarsky <matthias@welwarsky.de> | 2019-03-27 08:53:29 +0000 |
commit | 21ef7e30d4f47a78e2b3aacedd425f0966465352 (patch) | |
tree | 86c9fdd15481914b11b4d6df91bbfa86338fb6da /src/target/cortex_a.c | |
parent | bc72695f6738951571502706bd48680de5ccc84c (diff) |
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 'src/target/cortex_a.c')
0 files changed, 0 insertions, 0 deletions