X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fcore.c;h=86ba706bac1743511f188331c22ad43f653467dc;hb=46bcaec696ae0974b47aeaea876737f13d0c55e5;hp=9f1e4cf03903fbe223473f7a0aec4b8cd1847386;hpb=67a848424b94a2508a81f651adf32b279fa79b11;p=openocd.git diff --git a/src/jtag/core.c b/src/jtag/core.c index 9f1e4cf039..86ba706bac 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -1371,6 +1371,11 @@ int adapter_init(struct command_context *cmd_ctx) return retval; } + if (jtag->speed == NULL) { + LOG_INFO("This adapter doesn't support configurable speed"); + return ERROR_OK; + } + if (CLOCK_MODE_UNSELECTED == clock_mode) { LOG_ERROR("An adapter speed is not selected in the init script." " Insert a call to adapter_khz or jtag_rclk to proceed.");