flash/nor/niietcm4: minor fixes
commitafbad69d97938b8c35d7d416e38403cb4e58f803
authorBogdan Kolbov <kolbov@niiet.ru>
Mon, 14 Dec 2015 13:52:30 +0000 (14 16:52 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Fri, 29 Jan 2016 05:41:53 +0000 (29 05:41 +0000)
tree0ac5b2c2133faab14df84f99c6bf2d1d4b922d5a
parent1919dbbfd23c699ecdc23d29ee3a79b2dc773571
flash/nor/niietcm4: minor fixes

niietcm4_write() buffer padding:
add correct buffer padding for 16 bytes.

Args check in FLASH_BANK_COMMAND_HANDLER():
first version of the driver had 7 args, current - 6. This patch will fix
error when flash is rejected (current k1921vk01t.cfg has flash bank init
with 6 args).

Timeouts in flash flag checking procedure:
increase timeouts in niietcm4_opstatus_check() and niietcm4_uopstatus_check()
cause there were problems in some hardware configurations.

JTAG ID:
wrong id in k1921vk01t.cfg replaced with right one.

Signed-off-by: Bogdan Kolbov <kolbov@niiet.ru>
Change-Id: I84296ba3eb4eeda4d4a68b18c94666f1269a500f
Reviewed-on: http://openocd.zylin.com/3171
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/flash/nor/niietcm4.c
tcl/target/k1921vk01t.cfg