diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-03-31 18:37:19 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-01 08:59:07 +0200 |
commit | 2615bf4398f393ee1e387128064093dcd44749c8 (patch) | |
tree | f9e610d2ec9e68438397114e6e13997a48b8e62e /src/target/embeddedice.c | |
parent | d76fd2aac798b4b052a50883ac148cbc19080d4a (diff) | |
download | openocd+libswd-2615bf4398f393ee1e387128064093dcd44749c8.tar.gz openocd+libswd-2615bf4398f393ee1e387128064093dcd44749c8.tar.bz2 openocd+libswd-2615bf4398f393ee1e387128064093dcd44749c8.tar.xz openocd+libswd-2615bf4398f393ee1e387128064093dcd44749c8.zip |
types: write memory now uses const
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/embeddedice.c')
-rw-r--r-- | src/target/embeddedice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 5502ad8a..b171dcf7 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -637,7 +637,7 @@ int embeddedice_handshake(struct arm_jtag *jtag_info, int hsbit, uint32_t timeou * This is an inner loop of the open loop DCC write of data to target */ void embeddedice_write_dcc(struct jtag_tap *tap, - int reg_addr, uint8_t *buffer, int little, int count) + int reg_addr, const uint8_t *buffer, int little, int count) { int i; |