diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-17 01:09:50 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-17 01:09:50 -0800 |
commit | 0181296f61f11e4390e5a381906021db4ddd4bcd (patch) | |
tree | 603fd56c8c2925ed3869a79309721c177f6eef8c /src/target/fa526.c | |
parent | 812ab89f58f43979a402ecf4bef7f09f84695cc6 (diff) | |
download | riscv-openocd-0181296f61f11e4390e5a381906021db4ddd4bcd.zip riscv-openocd-0181296f61f11e4390e5a381906021db4ddd4bcd.tar.gz riscv-openocd-0181296f61f11e4390e5a381906021db4ddd4bcd.tar.bz2 |
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/fa526.c')
-rw-r--r-- | src/target/fa526.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/target/fa526.c b/src/target/fa526.c index e7c1a2e..9c22a75 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; |