mips_ejtag: cache ejtag version to avoid recalculation62/1462/3
authorOleksij Rempel <linux@rempel-privat.de>
Fri, 28 Jun 2013 20:49:48 +0000 (22:49 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 17 Jul 2013 14:32:56 +0000 (14:32 +0000)
commite3042a86ede3e50e3852268a4957c3c2d43f794f
tree9a15b144e9236fd0be3a3fc6e8efa7af05dfe3d2
parente68f4b77f90b24b554e639a152c4d0fdb62236a9
mips_ejtag: cache ejtag version to avoid recalculation

Some parts of code are version specific. It will be easier
if we extract ejtag version and store it some where.

Change-Id: I8f9addc42108cba5ae9d61b8ade8f9d7f02a0fb5
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-on: http://openocd.zylin.com/1462
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/mips_ejtag.c
src/target/mips_ejtag.h