target: Remove read_memory_imp

Change-Id: Idc6ef3b075ccbb5945df8fea746011cb17175d8f
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1219
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Andreas Fritiofson
2013-03-10 14:39:31 +01:00
committed by Spencer Oliver
parent 5914310f88
commit 9b6de72c2b
5 changed files with 18 additions and 28 deletions

View File

@@ -140,9 +140,9 @@ static int linux_read_memory(struct target *target,
return ERROR_FAIL;
}
#ifdef PHYS
target->type->read_phys_memory(target, pa, size, count, buffer);
target_read_phys_memory(target, pa, size, count, buffer);
#endif
target->type->read_memory(target, address, size, count, buffer);
target_read_memory(target, address, size, count, buffer);
return ERROR_OK;
}