transport: remove interface multiple transport warning
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 19 Mar 2012 16:38:11 +0000 (16:38 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 30 Mar 2012 15:51:37 +0000 (15:51 +0000)
commit4aa63d59bd9c8a98cfa547cd6d6f477a84c146ee
treef1cabeabae089ee10ad58c8bc77b657f872ee9dd
parent1274df07f128e97cc75f68b24303ebcfe440ddde
transport: remove interface multiple transport warning

Currently if we have multiple transport's defined we receive an warning similar to:
must select a transport.
allow transport 'jtag'
allow transport 'swd

This removes that warning and only prints this info if transport_init fails.

Change-Id: I87126390f234bc2f705e1f150a0dcc110dcab151
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/532
Tested-by: jenkins
src/transport/transport.c