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>
This commit is contained in:
@@ -41,7 +41,6 @@ int mips_m4k_read_memory(struct target_s *target, uint32_t address, uint32_t siz
|
||||
int mips_m4k_write_memory(struct target_s *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer);
|
||||
int mips_m4k_register_commands(struct command_context_s *cmd_ctx);
|
||||
int mips_m4k_init_target(struct command_context_s *cmd_ctx, struct target_s *target);
|
||||
int mips_m4k_quit(void);
|
||||
int mips_m4k_target_create(struct target_s *target, Jim_Interp *interp);
|
||||
|
||||
int mips_m4k_examine(struct target_s *target);
|
||||
@@ -85,7 +84,6 @@ target_type_t mips_m4k_target =
|
||||
.target_create = mips_m4k_target_create,
|
||||
.init_target = mips_m4k_init_target,
|
||||
.examine = mips_m4k_examine,
|
||||
.quit = mips_m4k_quit
|
||||
};
|
||||
|
||||
int mips_m4k_examine_debug_reason(target_t *target)
|
||||
@@ -919,11 +917,6 @@ int mips_m4k_init_target(struct command_context_s *cmd_ctx, struct target_s *tar
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
int mips_m4k_quit(void)
|
||||
{
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
int mips_m4k_init_arch_info(target_t *target, mips_m4k_common_t *mips_m4k, jtag_tap_t *tap)
|
||||
{
|
||||
mips32_common_t *mips32 = &mips_m4k->mips32_common;
|
||||
|
||||
Reference in New Issue
Block a user