summaryrefslogtreecommitdiff
path: root/src/target/xscale.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/xscale.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/xscale.c')
-rw-r--r--src/target/xscale.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/xscale.c b/src/target/xscale.c
index 253decbd..0fa32700 100644
--- a/src/target/xscale.c
+++ b/src/target/xscale.c
@@ -1429,7 +1429,7 @@ static int xscale_step_inner(struct target *target, int current,
static int xscale_step(struct target *target, int current,
uint32_t address, int handle_breakpoints)
{
- struct arm *armv4_5 = target_to_armv4_5(target);
+ struct arm *armv4_5 = target_to_arm(target);
struct breakpoint *breakpoint = target->breakpoints;
uint32_t current_pc;
@@ -1675,7 +1675,7 @@ static int xscale_write_core_reg(struct target *target, struct reg *r,
static int xscale_full_context(struct target *target)
{
- struct arm *armv4_5 = target_to_armv4_5(target);
+ struct arm *armv4_5 = target_to_arm(target);
uint32_t *buffer;
@@ -1757,7 +1757,7 @@ static int xscale_full_context(struct target *target)
static int xscale_restore_banked(struct target *target)
{
- struct arm *armv4_5 = target_to_armv4_5(target);
+ struct arm *armv4_5 = target_to_arm(target);
int i, j;