From b3b0ff60c26baf1a82a00f288ae59e3baf503172 Mon Sep 17 00:00:00 2001 From: oharboe Date: Thu, 14 May 2009 19:00:35 +0000 Subject: take #2: dump_image now works for addresses not divisible by 4 git-svn-id: svn://svn.berlios.de/openocd/trunk@1786 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/target.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/target') diff --git a/src/target/target.c b/src/target/target.c index c1031a02..e3590846 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -2115,12 +2115,6 @@ static int handle_dump_image_command(struct command_context_s *cmd_ctx, char *cm 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; -- cgit v1.2.3