From 0181296f61f11e4390e5a381906021db4ddd4bcd Mon Sep 17 00:00:00 2001 From: David Brownell Date: Tue, 17 Nov 2009 01:09:50 -0800 Subject: 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 --- src/target/arm966e.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target/arm966e.c') 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; -- cgit v1.2.3