adiv5: check packed transfers are supported 02/1602/4
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 18 Sep 2013 21:41:54 +0000 (22:41 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Fri, 20 Sep 2013 20:39:34 +0000 (20:39 +0000)
commit1304b27d2accf7a761ff3b0c12fd5332b3c0c4da
tree6c53b26378cf58aa2de252abc617c041cc3ac137
parent5aafcec96e1b5bd10866cb721db075027003bce6
adiv5: check packed transfers are supported

Currently we try and use MEM-AP packed transfers as much as possible for
8/16bit transfers. However not all targets support packed transfers, so
check before using.

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