]> git.sur5r.net Git - openocd/commitdiff
Dragonite has the same EICE affliction as feroceon.
authordbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 6 Oct 2009 22:55:46 +0000 (22:55 +0000)
committerdbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 6 Oct 2009 22:55:46 +0000 (22:55 +0000)
From: Nicolas Pitre <nico@fluxnic.net>

git-svn-id: svn://svn.berlios.de/openocd/trunk@2807 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/embeddedice.c

index 0d23c121481d7d1929ee6ee1e5a10b82c96a419c..39f87c790afc1c8b5bb45e90f5b8d66f60292a79 100644 (file)
@@ -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));
        }