diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-04-19 15:46:47 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-04-30 13:04:54 +0000 |
commit | 2d8c7c510be09188b6c5446264cd8fcaa9c1e75a (patch) | |
tree | 11c41cbe18c0405df5d170178f3c11e430c0841a /src/jtag/stlink/stlink_layout.h | |
parent | 5d1cabb1422f9b76afb665aecc2f0116174de1b0 (diff) |
stlink: export write_debug_reg
Change-Id: I3944911d4a71dba4af48470ceb3e4850784a0e7d
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/580
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/jtag/stlink/stlink_layout.h')
-rw-r--r-- | src/jtag/stlink/stlink_layout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jtag/stlink/stlink_layout.h b/src/jtag/stlink/stlink_layout.h index e0da75c7..905105a0 100644 --- a/src/jtag/stlink/stlink_layout.h +++ b/src/jtag/stlink/stlink_layout.h @@ -63,6 +63,8 @@ struct stlink_layout_api_s { int (*write_mem32) (void *handle, uint32_t addr, uint16_t len, const uint8_t *buffer); /** */ + int (*write_debug_reg) (void *handle, uint32_t addr, uint32_t val); + /** */ int (*idcode) (void *fd, uint32_t *idcode); /** */ enum target_state (*state) (void *fd); |