summaryrefslogtreecommitdiff
path: root/src/target/arm926ejs.h
diff options
context:
space:
mode:
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
commit2615bf4398f393ee1e387128064093dcd44749c8 (patch)
treef9e610d2ec9e68438397114e6e13997a48b8e62e /src/target/arm926ejs.h
parentd76fd2aac798b4b052a50883ac148cbc19080d4a (diff)
downloadopenocd+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/arm926ejs.h')
-rw-r--r--src/target/arm926ejs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm926ejs.h b/src/target/arm926ejs.h
index 274733bf..76cc24a0 100644
--- a/src/target/arm926ejs.h
+++ b/src/target/arm926ejs.h
@@ -50,7 +50,7 @@ int arm926ejs_init_arch_info(struct target *target,
struct arm926ejs_common *arm926ejs, struct jtag_tap *tap);
int arm926ejs_arch_state(struct target *target);
int arm926ejs_write_memory(struct target *target,
- uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer);
+ uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer);
int arm926ejs_soft_reset_halt(struct target *target);
extern const struct command_registration arm926ejs_command_handlers[];