summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-10-06 22:55:46 +0000
committerdbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-10-06 22:55:46 +0000
commit60f877050240ae3539def257d4acbd4e21b6ffe9 (patch)
tree93a878bc7fccb9fdaa1c2ff7e8e601ff48d5c1a7
parent7d78021efa70785cdb8343621ee506585eb6a038 (diff)
downloadopenocd_libswd-60f877050240ae3539def257d4acbd4e21b6ffe9.tar.gz
openocd_libswd-60f877050240ae3539def257d4acbd4e21b6ffe9.tar.bz2
openocd_libswd-60f877050240ae3539def257d4acbd4e21b6ffe9.tar.xz
openocd_libswd-60f877050240ae3539def257d4acbd4e21b6ffe9.zip
Dragonite has the same EICE affliction as feroceon.
From: Nicolas Pitre <nico@fluxnic.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@2807 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/target/embeddedice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c
index 0d23c121..39f87c79 100644
--- a/src/target/embeddedice.c
+++ b/src/target/embeddedice.c
@@ -264,7 +264,8 @@ reg_cache_t* embeddedice_build_reg_cache(target_t *target, arm7_9_common_t *arm7
* in some unusual bits. Let feroceon.c validate it
* and do the appropriate setup itself.
*/
- if (strcmp(target_get_name(target), "feroceon") == 0)
+ if (strcmp(target_get_name(target), "feroceon") == 0 ||
+ strcmp(target_get_name(target), "dragonite") == 0)
break;
LOG_ERROR("unknown EmbeddedICE version (comms ctrl: 0x%8.8" PRIx32 ")", buf_get_u32(reg_list[EICE_COMMS_CTRL].value, 0, 32));
}