summaryrefslogtreecommitdiff
path: root/src/target/arm920t.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/arm920t.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/arm920t.c')
-rw-r--r--src/target/arm920t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c
index 6a5faffd..305f0de8 100644
--- a/src/target/arm920t.c
+++ b/src/target/arm920t.c
@@ -212,7 +212,7 @@ static int arm920t_execute_cp15(struct target *target, uint32_t cp15_opcode,
static int arm920t_read_cp15_interpreted(struct target *target,
uint32_t cp15_opcode, uint32_t address, uint32_t *value)
{
- struct arm *armv4_5 = target_to_armv4_5(target);
+ struct arm *armv4_5 = target_to_arm(target);
uint32_t* regs_p[1];
uint32_t regs[2];
uint32_t cp15c15 = 0x0;
@@ -259,7 +259,7 @@ int arm920t_write_cp15_interpreted(struct target *target,
uint32_t cp15_opcode, uint32_t value, uint32_t address)
{
uint32_t cp15c15 = 0x0;
- struct arm *armv4_5 = target_to_armv4_5(target);
+ struct arm *armv4_5 = target_to_arm(target);
uint32_t regs[2];
struct reg *r = armv4_5->core_cache->reg_list;