From: oharboe at B. <oh...@ma...> - 2009-05-14 21:00:43
|
Author: oharboe Date: 2009-05-14 21:00:35 +0200 (Thu, 14 May 2009) New Revision: 1786 Modified: trunk/src/target/target.c Log: take #2: dump_image now works for addresses not divisible by 4 Modified: trunk/src/target/target.c =================================================================== --- trunk/src/target/target.c 2009-05-14 18:56:41 UTC (rev 1785) +++ trunk/src/target/target.c 2009-05-14 19:00:35 UTC (rev 1786) @@ -2115,12 +2115,6 @@ address = strtoul(args[1], NULL, 0); size = strtoul(args[2], NULL, 0); - if ((address & 3) || (size & 3)) - { - command_print(cmd_ctx, "only 32-bit aligned address and size are supported"); - return ERROR_OK; - } - if (fileio_open(&fileio, args[0], FILEIO_WRITE, FILEIO_BINARY) != ERROR_OK) { return ERROR_OK; |