summaryrefslogtreecommitdiff
path: root/src/target/arm7tdmi.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:43:03 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:43:03 -0800
commit87589043faf8cdb954c602c988698c40fcf9c108 (patch)
tree22d130206402f27a51a3f155b77f4ecd5d6832e2 /src/target/arm7tdmi.c
parent56e01714203406b50b40dd7738983e3b019d4df2 (diff)
downloadopenocd+libswd-87589043faf8cdb954c602c988698c40fcf9c108.tar.gz
openocd+libswd-87589043faf8cdb954c602c988698c40fcf9c108.tar.bz2
openocd+libswd-87589043faf8cdb954c602c988698c40fcf9c108.tar.xz
openocd+libswd-87589043faf8cdb954c602c988698c40fcf9c108.zip
ARM: switch target_to_armv4_5() to target_to_arm()
And remove that old symbol. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm7tdmi.c')
-rw-r--r--src/target/arm7tdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c
index 7d14ed61..a0b12b94 100644
--- a/src/target/arm7tdmi.c
+++ b/src/target/arm7tdmi.c
@@ -641,7 +641,7 @@ static void arm7tdmi_branch_resume_thumb(struct target *target)
static void arm7tdmi_build_reg_cache(struct target *target)
{
struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache);
- struct arm *armv4_5 = target_to_armv4_5(target);
+ struct arm *armv4_5 = target_to_arm(target);
(*cache_p) = armv4_5_build_reg_cache(target, armv4_5);
}