Browse Source

Do not replace virt2phys with the default one if it was assigned

Signed-off-by: Yauheni Kaliuta <y.kaliuta@gmail.com>
tags/v0.3.0-rc0
Yauheni Kaliuta 14 years ago
committed by Øyvind Harboe
parent
commit
bc0cc62afd
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      src/target/target.c

+ 0
- 1
src/target/target.c View File

@@ -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
*/


Loading…
Cancel
Save