aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authorChristopher Head <chead@zaber.com>2018-02-26 14:51:35 -0800
committerTomas Vanek <vanekt@fbl.cz>2018-02-27 06:03:30 +0000
commit1a3cbbf3a5e3432aeab52d7e5f1ff83f71dca929 (patch)
tree10bdb39ea8c26fb7cba1667780a113726c21114c /src/target/target.c
parente84592d17d11bb1b3bbae24e1aed725913787285 (diff)
downloadriscv-openocd-1a3cbbf3a5e3432aeab52d7e5f1ff83f71dca929.zip
riscv-openocd-1a3cbbf3a5e3432aeab52d7e5f1ff83f71dca929.tar.gz
riscv-openocd-1a3cbbf3a5e3432aeab52d7e5f1ff83f71dca929.tar.bz2
Fix incorrect comment
target_start_algorithm does not download the algorithm. It only starts it. It expects someone else to have already written the algorithm code into the proper location before calling it. Change-Id: I5e04406eed0ebb1c23e550dbf8d9f1204c432603 Signed-off-by: Christopher Head <chead@zaber.com> Reviewed-on: http://openocd.zylin.com/4435 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 055658e..5237610 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -808,8 +808,7 @@ done:
}
/**
- * Downloads a target-specific native code algorithm to the target,
- * executes and leaves it running.
+ * Executes a target-specific native code algorithm and leaves it running.
*
* @param target used to run the algorithm
* @param arch_info target-specific description of the algorithm.