diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-28 08:42:09 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-28 08:42:09 +0000 |
commit | c5ad875a79234ee77a556f48b881907d4874a936 (patch) | |
tree | 337ef4044fa0063701e1a1a49a23663e375e5030 | |
parent | de6d69cc60acae64b35f73be6753ff85545d8221 (diff) | |
download | openocd+libswd-c5ad875a79234ee77a556f48b881907d4874a936.tar.gz openocd+libswd-c5ad875a79234ee77a556f48b881907d4874a936.tar.bz2 openocd+libswd-c5ad875a79234ee77a556f48b881907d4874a936.tar.xz openocd+libswd-c5ad875a79234ee77a556f48b881907d4874a936.zip |
fix checksum memory. By failing the fallback code will handle checksum calculation
git-svn-id: svn://svn.berlios.de/openocd/trunk@1554 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/arm11.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c index 5801feb6..fea4c451 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -1305,11 +1305,13 @@ int arm11_bulk_write_memory(struct target_s *target, u32 address, u32 count, u8 return arm11_write_memory(target, address, 4, count, buffer); } +/* here we have nothing target specific to contribute, so we fail and then the + * fallback code will read data from the target and calculate the CRC on the + * host. + */ int arm11_checksum_memory(struct target_s *target, u32 address, u32 count, u32* checksum) { - FNC_INFO_NOTIMPLEMENTED; - - return ERROR_OK; + return ERROR_FAIL; } /* target break-/watchpoint control |