src/target/mips_m4k : fix condition on overlapping workspace data area
commit18aacc8bf3ff7c7481673cbbfe82f0104e4dccf9
authorFrançois LEGAL <devel@thom.fr.eu.org>
Wed, 29 Mar 2023 12:19:48 +0000 (29 14:19 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 7 Apr 2023 21:45:18 +0000 (7 21:45 +0000)
treec506def44a11f4bfea70092edaf96ade96c22e4d
parent41037eb26585114209c3c8f1d63f7788a421df07
src/target/mips_m4k : fix condition on overlapping workspace data area

The condition to check if the workspace area (used by actual MIPS code
executed on target) and data area (sandbox to put data to be read/written
to/from flash) is wrong, thus preventing the use of FAST_* commands to
program/verify FLASH.

Signed-off-by: François LEGAL <devel@thom.fr.eu.org>
Change-Id: Ic68424b7f42d44e550433a120093db5e7980fd56
Reviewed-on: https://review.openocd.org/c/openocd/+/7563
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/target/mips_m4k.c