Kinetis: kinetis_ftfx_command() based on target instead of flash bank 88/2988/5
authorTomas Vanek <vanekt@fbl.cz>
Thu, 1 Oct 2015 09:08:52 +0000 (11:08 +0200)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 15 Feb 2016 19:45:13 +0000 (19:45 +0000)
commitc161b81b0f60833d6723e59eb6baefe27336ee62
tree4e597a631eb02e32083c43c82697fed9b6576f60
parentbe6d14d1fb2e45626a63ec52e0fe1dd37718874d
Kinetis: kinetis_ftfx_command() based on target instead of flash bank

kinetis_ftfx_command() did not use other struct flash_bank* members
than base->target. Switching first parameter to struct target*
enables use of kinetis_ftfx_command() without unnecessary bank
getting and probing.

Removed kinetis_securing_test: kind of dead code, same function
as command flash erase_address pad 0x400 0x10

Removed "NAND" word from help as flash is obviously NOR

Change-Id: I3f5fc295ef2bf42f3e913549949f2a36377f6367
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/2988
Tested-by: jenkins
src/flash/nor/kinetis.c