diff options
author | Yauheni Kaliuta <y.kaliuta@gmail.com> | 2009-10-11 18:27:27 +0300 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-13 17:55:44 +0200 |
commit | bc0cc62afd7e84432727f470f74d4fb2b405ce35 (patch) | |
tree | 3172f381c9868eb75f1ba3942e6bc62f9bfb8968 | |
parent | 79bf27da711028728bf93e0bfcb1d8c2f0c89307 (diff) | |
download | openocd_libswd-bc0cc62afd7e84432727f470f74d4fb2b405ce35.tar.gz openocd_libswd-bc0cc62afd7e84432727f470f74d4fb2b405ce35.tar.bz2 openocd_libswd-bc0cc62afd7e84432727f470f74d4fb2b405ce35.tar.xz openocd_libswd-bc0cc62afd7e84432727f470f74d4fb2b405ce35.zip |
Do not replace virt2phys with the default one if it was assigned
Signed-off-by: Yauheni Kaliuta <y.kaliuta@gmail.com>
-rw-r--r-- | src/target/target.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/target/target.c b/src/target/target.c index 2b7d7e2c..7763b956 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -698,7 +698,6 @@ int target_init(struct command_context_s *cmd_ctx) { target->type->virt2phys = default_virt2phys; } - target->type->virt2phys = default_virt2phys; /* a non-invasive way(in terms of patches) to add some code that * runs before the type->write/read_memory implementation */ |