X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fcore.c;h=18956f24dbe3658cb49c7648beee6edb42dc6f94;hp=84e93967753bd5f94194f7b4fbb0521aff64bb02;hb=159f11fefc194743a0af6e29e134b184bf26650d;hpb=e26910fdad0cdbb930fbdc938e3b186f5dbaccb9 diff --git a/src/jtag/core.c b/src/jtag/core.c index 84e9396775..18956f24db 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -1348,19 +1348,6 @@ int adapter_init(struct command_context *cmd_ctx) return retval; jtag = jtag_interface; - /* LEGACY SUPPORT ... adapter drivers must declare what - * transports they allow. Until they all do so, assume - * the legacy drivers are JTAG-only - */ - if (!transports_are_declared()) { - LOG_ERROR("Adapter driver '%s' did not declare " - "which transports it allows; assuming " - "JTAG-only", jtag->name); - retval = allow_transports(cmd_ctx, jtag_only); - if (retval != ERROR_OK) - return retval; - } - if (jtag->speed == NULL) { LOG_INFO("This adapter doesn't support configurable speed"); return ERROR_OK;