aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-03-27 11:11:46 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2023-05-13 08:55:55 +0000
commit85b5c518062f4d77f73cb5f00620ccebd2d7847a (patch)
treeeb603677ed3dade3d55d0d21e0d7e62ecfa1df6a /src/target/target.h
parentb931286ab440f4677a9ac983a64b55055d20c438 (diff)
downloadriscv-openocd-85b5c518062f4d77f73cb5f00620ccebd2d7847a.zip
riscv-openocd-85b5c518062f4d77f73cb5f00620ccebd2d7847a.tar.gz
riscv-openocd-85b5c518062f4d77f73cb5f00620ccebd2d7847a.tar.bz2
target: rewrite command 'arp_reset' as COMMAND_HANDLER
While there, add the missing .usage field and move in target.c the enum nvp_assert. Change-Id: Ia4f2f962887b5a35faeaa4eae128fa2865569b24 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7559 Tested-by: jenkins
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/target/target.h b/src/target/target.h
index ef9ba10..00bf43c 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -57,11 +57,6 @@ enum target_state {
TARGET_DEBUG_RUNNING = 4,
};
-enum nvp_assert {
- NVP_DEASSERT,
- NVP_ASSERT,
-};
-
enum target_reset_mode {
RESET_UNKNOWN = 0,
RESET_RUN = 1, /* reset and let target run */