From 60f877050240ae3539def257d4acbd4e21b6ffe9 Mon Sep 17 00:00:00 2001 From: dbrownell Date: Tue, 6 Oct 2009 22:55:46 +0000 Subject: [PATCH] Dragonite has the same EICE affliction as feroceon. From: Nicolas Pitre git-svn-id: svn://svn.berlios.de/openocd/trunk@2807 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/embeddedice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); } -- 2.39.5