target: remove unimplemented soft_reset_halt implementations
Let the default handler issue an unsupported warning rather than using empty handler routines that may/may not issue a unsupported warning. Change-Id: Iafe3e45146981a4cfae39771c3ab7370ac86da48 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1535 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Hsiangkai Wang <hsiangkai@gmail.com>
This commit is contained in:
@@ -370,12 +370,6 @@ static int mips_m4k_deassert_reset(struct target *target)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int mips_m4k_soft_reset_halt(struct target *target)
|
||||
{
|
||||
/* TODO */
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int mips_m4k_single_step_core(struct target *target)
|
||||
{
|
||||
struct mips32_common *mips32 = target_to_mips32(target);
|
||||
@@ -1398,7 +1392,6 @@ struct target_type mips_m4k_target = {
|
||||
|
||||
.assert_reset = mips_m4k_assert_reset,
|
||||
.deassert_reset = mips_m4k_deassert_reset,
|
||||
.soft_reset_halt = mips_m4k_soft_reset_halt,
|
||||
|
||||
.get_gdb_reg_list = mips32_get_gdb_reg_list,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user