summaryrefslogtreecommitdiff
path: root/src/target/arm966e.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-17 01:09:50 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-17 01:09:50 -0800
commit0181296f61f11e4390e5a381906021db4ddd4bcd (patch)
tree603fd56c8c2925ed3869a79309721c177f6eef8c /src/target/arm966e.c
parent812ab89f58f43979a402ecf4bef7f09f84695cc6 (diff)
downloadopenocd+libswd-0181296f61f11e4390e5a381906021db4ddd4bcd.tar.gz
openocd+libswd-0181296f61f11e4390e5a381906021db4ddd4bcd.tar.bz2
openocd+libswd-0181296f61f11e4390e5a381906021db4ddd4bcd.tar.xz
openocd+libswd-0181296f61f11e4390e5a381906021db4ddd4bcd.zip
ARM9TDMI: remove now-needless "struct arm9tdmi"
And move the rest of the vector_catch stuff into the C file; it's not part of the module interface. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm966e.c')
-rw-r--r--src/target/arm966e.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm966e.c b/src/target/arm966e.c
index 3b85a5cd..fc50acb6 100644
--- a/src/target/arm966e.c
+++ b/src/target/arm966e.c
@@ -34,10 +34,10 @@
int arm966e_init_arch_info(struct target *target, struct arm966e_common *arm966e, struct jtag_tap *tap)
{
- struct arm9tdmi_common *arm9tdmi = &arm966e->arm9tdmi_common;
- struct arm7_9_common *arm7_9 = &arm9tdmi->arm7_9_common;
+ struct arm7_9_common *arm7_9 = &arm966e->arm7_9_common;
- arm9tdmi_init_arch_info(target, arm9tdmi, tap);
+ /* initialize arm7/arm9 specific info (including armv4_5) */
+ arm9tdmi_init_arch_info(target, arm7_9, tap);
arm966e->common_magic = ARM966E_COMMON_MAGIC;