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/fa526.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/target/fa526.c') diff --git a/src/target/fa526.c b/src/target/fa526.c index e7c1a2e6..9c22a750 100644 --- a/src/target/fa526.c +++ b/src/target/fa526.c @@ -256,12 +256,8 @@ static void fa526_branch_resume_thumb(struct target *target) } static int fa526_init_arch_info_2(struct target *target, - struct arm9tdmi_common *arm9tdmi, struct jtag_tap *tap) + struct arm7_9_common *arm7_9, struct jtag_tap *tap) { - struct arm7_9_common *arm7_9; - - arm7_9 = &arm9tdmi->arm7_9_common; - /* prepare JTAG information for the new target */ arm7_9->jtag_info.tap = tap; arm7_9->jtag_info.scann_size = 5; @@ -317,12 +313,10 @@ static int fa526_init_arch_info_2(struct target *target, static int fa526_init_arch_info(struct target *target, struct arm920t_common *arm920t, struct jtag_tap *tap) { - struct arm9tdmi_common *arm9tdmi = &arm920t->arm9tdmi_common; - struct arm7_9_common *arm7_9 = &arm9tdmi->arm7_9_common; + struct arm7_9_common *arm7_9 = &arm920t->arm7_9_common; - /* initialize arm9tdmi specific info (including arm7_9 and armv4_5) - */ - fa526_init_arch_info_2(target, arm9tdmi, tap); + /* initialize arm7/arm9 specific info (including armv4_5) */ + fa526_init_arch_info_2(target, arm7_9, tap); arm920t->common_magic = ARM920T_COMMON_MAGIC; -- cgit v1.2.3