projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe634a
)
kinetis : fix deadlock on device having hasidcode false.
author
Michel Jaouen
<michel.jaouen@stericsson.com>
Tue, 20 Sep 2011 07:37:52 +0000
(09:37 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Fri, 23 Sep 2011 13:31:39 +0000
(15:31 +0200)
src/target/arm_adi_v5.c
patch
|
blob
|
history
diff --git
a/src/target/arm_adi_v5.c
b/src/target/arm_adi_v5.c
index 21dc54cd3d2ccd7ddf779690ba5b2f857fb08fe6..7f89f2eed9d1ad1d947b385dbf55c62b615f0ec6 100644
(file)
--- a/
src/target/arm_adi_v5.c
+++ b/
src/target/arm_adi_v5.c
@@
-1122,9
+1122,7
@@
int dap_syssec(struct adiv5_dap *dap)
while (tap != NULL)
{
- if (!tap->hasidcode)
- continue;
- if ( dap_syssec_filter_data[i].idcode == tap->idcode )
+ if ( tap->hasidcode && (dap_syssec_filter_data[i].idcode == tap->idcode) )
{
LOG_DEBUG("DAP: mdmap_init for idcode: %08x",tap->idcode);
dap_syssec_filter_data[i].dap_init(dap);