]> git.sur5r.net Git - openocd/commit
target: require working area for physical/virtual addresses to be specified
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 2 Nov 2009 10:10:09 +0000 (11:10 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 3 Nov 2009 10:56:05 +0000 (11:56 +0100)
commitb5ce7fe8125da3044a2b4f2d0ef57af4d9eef5e7
treeecfc2406a30a54933cab0157169d550a40aa289a
parente901cee72f0f8ec5fc3b15d4c5320c3da5dbd39c
target: require working area for physical/virtual addresses to be specified

Fixed bug: if virtual address for working memory was not specified
and MMU was enabled, then address 0 would be used.

Require working address to be specified for both MMU enabled
and disabled case.

For some completely inexplicable reason this fixes the regression
in svn 2646 for flash write in arm926ejs target. The logs showed
that MMU was disabled in the case below:

https://lists.berlios.de/pipermail/openocd-development/2009-November/011882.html

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/target.c
src/target/target.h