diff options
author | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-27 21:03:51 +0000 |
---|---|---|
committer | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-27 21:03:51 +0000 |
commit | 9a8650ec057a9de6db3987c709becf2880d9c524 (patch) | |
tree | e41ef8aae068cf527b974c550e32d60d4bc328c1 | |
parent | 35d8b2bf77645cfc4bc89666640a2907449451ff (diff) | |
download | openocd_libswd-9a8650ec057a9de6db3987c709becf2880d9c524.tar.gz openocd_libswd-9a8650ec057a9de6db3987c709becf2880d9c524.tar.bz2 openocd_libswd-9a8650ec057a9de6db3987c709becf2880d9c524.tar.xz openocd_libswd-9a8650ec057a9de6db3987c709becf2880d9c524.zip |
Author: Nicolas Pitre <nico@cam.org>
- cut out the "unknown EmbeddedICE version" message with Feroceon
git-svn-id: svn://svn.berlios.de/openocd/trunk@1934 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/embeddedice.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 31ac0b4f..9d2be364 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)); } |