Commit bc0cc62a authored by Yauheni Kaliuta's avatar Yauheni Kaliuta Committed by Øyvind Harboe
Browse files

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


Signed-off-by: default avatarYauheni Kaliuta <y.kaliuta@gmail.com>
parent 79bf27da
......@@ -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
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment