diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2013-09-18 22:41:54 +0100 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-09-20 20:39:34 +0000 |
commit | 1304b27d2accf7a761ff3b0c12fd5332b3c0c4da (patch) | |
tree | 6c53b26378cf58aa2de252abc617c041cc3ac137 /src/target/arm_adi_v5.h | |
parent | 5aafcec96e1b5bd10866cb721db075027003bce6 (diff) |
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>
Diffstat (limited to 'src/target/arm_adi_v5.h')
-rw-r--r-- | src/target/arm_adi_v5.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/arm_adi_v5.h b/src/target/arm_adi_v5.h index e2e83e11..7cc90b24 100644 --- a/src/target/arm_adi_v5.h +++ b/src/target/arm_adi_v5.h @@ -186,6 +186,9 @@ struct adiv5_dap { /* Size of TAR autoincrement block, ARM ADI Specification requires at least 10 bits */ uint32_t tar_autoincr_block; + + /* true if packed transfers are supported by the MEM-AP */ + bool packed_transfers; }; /** |