From: oharboe at B. <oh...@ma...> - 2009-04-28 10:42:10
|
Author: oharboe Date: 2009-04-28 10:42:09 +0200 (Tue, 28 Apr 2009) New Revision: 1554 Modified: trunk/src/target/arm11.c Log: fix checksum memory. By failing the fallback code will handle checksum calculation Modified: trunk/src/target/arm11.c =================================================================== --- trunk/src/target/arm11.c 2009-04-28 07:34:43 UTC (rev 1553) +++ trunk/src/target/arm11.c 2009-04-28 08:42:09 UTC (rev 1554) @@ -1305,11 +1305,13 @@ 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 |