Do not replace virt2phys with the default one if it was assigned
Signed-off-by: Yauheni Kaliuta <y.kaliuta@gmail.com>__archive__
parent
79bf27da71
commit
bc0cc62afd
|
@ -698,7 +698,6 @@ int target_init(struct command_context_s *cmd_ctx)
|
||||||
{
|
{
|
||||||
target->type->virt2phys = default_virt2phys;
|
target->type->virt2phys = default_virt2phys;
|
||||||
}
|
}
|
||||||
target->type->virt2phys = default_virt2phys;
|
|
||||||
/* a non-invasive way(in terms of patches) to add some code that
|
/* a non-invasive way(in terms of patches) to add some code that
|
||||||
* runs before the type->write/read_memory implementation
|
* runs before the type->write/read_memory implementation
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue