From 166b68c1b0784adf547b78189a314953210981bb Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Fri, 9 Jun 2023 15:13:44 -0700 Subject: [PATCH] target/riscv: Remove unnecessary prototypes. These functions used to exist but don't anymore. (Pointed out in #863) Change-Id: Iac6b5edd320bdff7628a788861e332f956dcd93d Signed-off-by: Tim Newsome --- src/target/riscv/riscv.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/target/riscv/riscv.h b/src/target/riscv/riscv.h index a9dedbb68..9669e323a 100644 --- a/src/target/riscv/riscv.h +++ b/src/target/riscv/riscv.h @@ -352,22 +352,12 @@ int riscv_openocd_step( int handle_breakpoints ); -int riscv_openocd_assert_reset(struct target *target); -int riscv_openocd_deassert_reset(struct target *target); - /*** RISC-V Interface ***/ bool riscv_supports_extension(struct target *target, char letter); /* Returns XLEN for the given (or current) hart. */ unsigned riscv_xlen(const struct target *target); -int riscv_xlen_of_hart(const struct target *target); - -/* Sets the current hart, which is the hart that will actually be used when - * issuing debug commands. */ -int riscv_set_current_hartid(struct target *target, int hartid); -int riscv_select_current_hart(struct target *target); -int riscv_current_hartid(const struct target *target); /*** Support functions for the RISC-V 'RTOS', which provides multihart support * without requiring multiple targets. */