From 2615bf4398f393ee1e387128064093dcd44749c8 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Thu, 31 Mar 2011 18:37:19 +0200 Subject: types: write memory now uses const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/target/embeddedice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/embeddedice.c') 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; -- cgit v1.2.3