stlink: use common layout 18/918/5
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 15 Oct 2012 11:34:46 +0000 (12:34 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Sun, 23 Dec 2012 21:37:50 +0000 (21:37 +0000)
commita047d87196e829b927b4dc5281981d011fb4c586
tree94cf146c8287d27e76b2f077ad059c7be3df6e2f
parentb7ea4a616279e2d8d315b2463dc5cf5bbeaf78fc
stlink: use common layout

Even though the stlinkv1 and stlinkv2 use different usb classes they share
the same layout scheme.

Merge the two into a common layout, thus enabling us to support other
adapter layouts.

Change-Id: I7d02c44a7f94ebc7f2cb5428b02ee40294fb430d
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/918
Tested-by: jenkins
src/jtag/stlink/stlink_layout.c
src/jtag/stlink/stlink_layout.h
tcl/interface/stlink-v1.cfg
tcl/interface/stlink-v2.cfg