aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/linux.c
diff options
context:
space:
mode:
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>2013-03-10 14:39:31 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-03-13 12:36:09 +0000
commit9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9 (patch)
treeadcf77d8cecf7f4d8fc25c246a933ea8166a41bc /src/rtos/linux.c
parent5914310f88161967cd1759e536f8069b9b15bdde (diff)
downloadriscv-openocd-9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9.zip
riscv-openocd-9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9.tar.gz
riscv-openocd-9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9.tar.bz2
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>
Diffstat (limited to 'src/rtos/linux.c')
-rw-r--r--src/rtos/linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtos/linux.c b/src/rtos/linux.c
index e0f71ef..23b1a9e 100644
--- a/src/rtos/linux.c
+++ b/src/rtos/linux.c
@@ -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;
}