J-Link: Initialize .transports to suppress warning.
commit321948b41f9a697c02d7c3f2ac7df71220250907
authorAlexander Osipenko <sipych@gmail.com>
Fri, 25 May 2012 10:39:13 +0000 (25 14:39 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 26 Jun 2012 13:56:12 +0000 (26 13:56 +0000)
treee71f335da81ab5892bd4a338cadc4aa6763f7a95
parent24a1e7b0fc6b18fd2b8e6f5486d2cece8e1d0d8e
J-Link: Initialize .transports to suppress warning.

jtag_interface.transports field was left uninitialized, which triggers warning message
on program startup.

Although hardware natively supports SWD interface, no software support
currently present, so the value choosen to be <jtag_only>.

Change-Id: I2da41790b1850950af416cec4362d5b7bf927b2b
Signed-off-by: Alexander Osipenko <sipych@gmail.com>
Reviewed-on: http://openocd.zylin.com/670
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/jlink.c