From: kc8apf Date: Wed, 27 May 2009 21:03:51 +0000 (+0000) Subject: Author: Nicolas Pitre X-Git-Tag: v0.2.0~576 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=9a8650ec057a9de6db3987c709becf2880d9c524 Author: Nicolas Pitre - cut out the "unknown EmbeddedICE version" message with Feroceon git-svn-id: svn://svn.berlios.de/openocd/trunk@1934 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 31ac0b4f05..9d2be364db 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -179,6 +179,13 @@ reg_cache_t* embeddedice_build_reg_cache(target_t *target, arm7_9_common_t *arm7 arm7_9->has_monitor_mode = 1; break; default: + /* + * The Feroceon implementation has the version number + * in some unusual bits. Let feroceon.c validate it + * and do the appropriate setup itself. + */ + if (strcmp(target->type->name, "feroceon") == 0) + break; LOG_ERROR("unknown EmbeddedICE version (comms ctrl: 0x%8.8x)", buf_get_u32(reg_list[EICE_COMMS_CTRL].value, 0, 32)); }