]> git.sur5r.net Git - openocd/commit
dap_dp_init: remove loop
authorJiri Kastner <cz172638@gmail.com>
Fri, 11 Nov 2016 09:50:13 +0000 (10:50 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Thu, 8 Dec 2016 12:25:52 +0000 (12:25 +0000)
commitcac446ca6bb9566f06f705beb168eb5c49bee27e
tree53dcc82b18f5b0b6295433e80043461f8142047b
parent0a2f1b29e678c97c7981090f769e841cbd583442
dap_dp_init: remove loop

current loop sounds to me like 'we don't know what we do, let's do it ten times, maybe we will have luck'.
should be enough to 'ping' debug port using reading CRTL_STAT.

tested on cortex-a8, snapdragon, jetson k1, cortex-r5, cortex-r4

Change-Id: Ibc62ac1eca06c141f4fccd5de7b11350ca1f35fd
Signed-off-by: Jiri Kastner <cz172638@gmail.com>
Tested-by: Jiri Kastner <cz172638@gmail.com>
Reviewed-on: http://openocd.zylin.com/3193
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Liviu Dudau <liviu@dudau.co.uk>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/target/arm_adi_v5.c