diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-02-28 23:06:49 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-02-28 23:06:49 +0000 |
commit | 409e23e39b955d92c8e879143d2b979b7de799e9 (patch) | |
tree | fd42752e153b07a9c5a2bc7a42c3d6fab2e45fea | |
parent | 57fc63f9f16934be777a14707d518ea9c9c3db80 (diff) | |
download | openocd_libswd-409e23e39b955d92c8e879143d2b979b7de799e9.tar.gz openocd_libswd-409e23e39b955d92c8e879143d2b979b7de799e9.tar.bz2 openocd_libswd-409e23e39b955d92c8e879143d2b979b7de799e9.tar.xz openocd_libswd-409e23e39b955d92c8e879143d2b979b7de799e9.zip |
armv4_5: remove core_type check in mcr/mrc cmd
core_type check is not required as the core function will be
null for cores that do not support the mcr/mrc functions.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
-rw-r--r-- | src/target/armv4_5.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index 04887857..1e9a2965 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -840,13 +840,6 @@ static int jim_mcrmrc(Jim_Interp *interp, int argc, Jim_Obj *const *argv) return JIM_ERR; } - if (arm->core_type == ARM_MODE_THREAD) - { - /* armv7m not supported */ - LOG_ERROR("Unsupported Command"); - return ERROR_OK; - } - if ((argc < 6) || (argc > 7)) { /* FIXME use the command name to verify # params... */ LOG_ERROR("%s: wrong number of arguments", __func__); |