diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-31 13:57:18 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-11-05 09:07:56 +0100 |
commit | af66678c9a76f3bdab23beb3ffa7d7d53423bdfa (patch) | |
tree | 3ee48dc1e666f435c999a1e2705e46a88e821a24 /src/target/arm920t.c | |
parent | acff2521fb8e47dce4a2e89e2de77e71bf314047 (diff) | |
download | riscv-openocd-af66678c9a76f3bdab23beb3ffa7d7d53423bdfa.zip riscv-openocd-af66678c9a76f3bdab23beb3ffa7d7d53423bdfa.tar.gz riscv-openocd-af66678c9a76f3bdab23beb3ffa7d7d53423bdfa.tar.bz2 |
target: remove unused interface fn that clutters code
The quit entry point was not being invoked. Just a source
of confusion at this point. XScale ran 100x reset upon
quit, but that code made no sense, wasn't commented
and never invoke.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/arm920t.c')
-rw-r--r-- | src/target/arm920t.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c index a332db0..835e4ee 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -43,7 +43,6 @@ int arm920t_handle_read_mmu_command(struct command_context_s *cmd_ctx, char *cmd /* forward declarations */ int arm920t_target_create(struct target_s *target, Jim_Interp *interp); int arm920t_init_target(struct command_context_s *cmd_ctx, struct target_s *target); -int arm920t_quit(void); #define ARM920T_CP15_PHYS_ADDR(x, y, z) ((x << 5) | (y << 1) << (z)) @@ -85,7 +84,6 @@ target_type_t arm920t_target = .target_create = arm920t_target_create, .init_target = arm920t_init_target, .examine = arm9tdmi_examine, - .quit = arm920t_quit }; int arm920t_read_cp15_physical(target_t *target, int reg_addr, uint32_t *value) @@ -659,11 +657,6 @@ int arm920t_init_target(struct command_context_s *cmd_ctx, struct target_s *targ return ERROR_OK; } -int arm920t_quit(void) -{ - return ERROR_OK; -} - int arm920t_init_arch_info(target_t *target, arm920t_common_t *arm920t, jtag_tap_t *tap) { arm9tdmi_common_t *arm9tdmi = &arm920t->arm9tdmi_common; |