aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/tcl.c
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2015-09-29 17:48:17 +0200
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-02-15 19:43:27 +0000
commitbe6d14d1fb2e45626a63ec52e0fe1dd37718874d (patch)
tree26a68a67ea87d03481bf0e248f63922b91309160 /src/jtag/tcl.c
parent50d4f76e13674190f1ab730f5718b8c4c0f8ca41 (diff)
Kinetis: FlexNVM handling
FlexNVM (data flash) is memory mapped at 0x10000000. Driver used to send the same address to FTFx controller for erase/write ops. This was wrong as FTFx accepts only low 24 bits of address. To fix addressing for flash controller kinfo->prog_base was introduced. Added FlexNVM protection check, blank check and data flash size calculation. Blank check cannot use block operation on FlexNVM when EEPROM backup is enabled. Removed non functional reassign logic and bank_ordinal stuff. Now one can re-probe FlexNVM banks after nvm_partition change. Change-Id: Ia60b938266963e5d056701278cdf7bf2f62a429a Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/2987 Tested-by: jenkins
Diffstat (limited to 'src/jtag/tcl.c')
0 files changed, 0 insertions, 0 deletions