X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fdrivers%2Fsysfsgpio.c;h=283ec445a2c870b4d7938853063425ef056105e6;hp=1cad268936547566f126cfa6ce2938fbcfecec80;hb=1d1f1b95a7516af3ce845c79af73511c82035528;hpb=c06af3af918b9b8d68fd16ac91eb2ca5cc0a7610 diff --git a/src/jtag/drivers/sysfsgpio.c b/src/jtag/drivers/sysfsgpio.c index 1cad268936..283ec445a2 100644 --- a/src/jtag/drivers/sysfsgpio.c +++ b/src/jtag/drivers/sysfsgpio.c @@ -258,28 +258,6 @@ static void sysfsgpio_reset(int trst, int srst) } } -/* No speed control is implemented yet */ -static int sysfsgpio_speed(int speed) -{ - return ERROR_OK; -} - -static int sysfsgpio_khz(int khz, int *jtag_speed) -{ - /* no adaptive clocking */ - if (khz == 0) - return ERROR_FAIL; - - *jtag_speed = 0; - return ERROR_OK; -} - -static int sysfsgpio_speed_div(int speed, int *khz) -{ - *khz = 1; - return ERROR_OK; -} - /* gpio numbers for each gpio. Negative values are invalid */ static int tck_gpio = -1; static int tms_gpio = -1; @@ -415,9 +393,6 @@ struct jtag_interface sysfsgpio_interface = { .supported = DEBUG_CAP_TMS_SEQ, .execute_queue = bitbang_execute_queue, .transports = jtag_only, - .speed = sysfsgpio_speed, - .khz = sysfsgpio_khz, - .speed_div = sysfsgpio_speed_div, .commands = sysfsgpio_command_handlers, .init = sysfsgpio_init, .quit = sysfsgpio_quit,