target: check target supports target_request_data 36/1536/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Fri, 2 Aug 2013 11:57:30 +0000 (12:57 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Sun, 8 Sep 2013 16:12:27 +0000 (16:12 +0000)
commit854a11422124bd1a417729f0cbfd40737a06d164
tree9e9062f50dfa1a69e38ca19d92d3e86bf70b0d04
parent9e02c99d7b2eba0988ab17a9af8b95b5fe065c5e
target: check target supports target_request_data

Make sure the target support target requests before we enable any receivers.

Change-Id: I8ce42922eaff76fb5e7a114da716f2a6585a6ab5
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1536
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/target/target_request.c