X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fdrivers%2Fep93xx.c;h=7e3b4568be8a8c553f20d716a155bea1413e8eb8;hb=d23d61a932c8ff91c087f2ba9396748efda535b7;hp=c679b2164344f7c9ce5334a9049c6e01a3add4be;hpb=865efd828a267992db0f2a92a731c5ce23a34236;p=openocd.git diff --git a/src/jtag/drivers/ep93xx.c b/src/jtag/drivers/ep93xx.c index c679b21643..7e3b4568be 100644 --- a/src/jtag/drivers/ep93xx.c +++ b/src/jtag/drivers/ep93xx.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include "bitbang.h" #define TDO_BIT 1 @@ -47,7 +47,6 @@ static void ep93xx_write(int tck, int tms, int tdi); static void ep93xx_reset(int trst, int srst); static int ep93xx_speed(int speed); -static int ep93xx_register_commands(struct command_context *cmd_ctx); static int ep93xx_init(void); static int ep93xx_quit(void); @@ -57,10 +56,10 @@ struct jtag_interface ep93xx_interface = { .name = "ep93xx", + .supported = DEBUG_CAP_TMS_SEQ, .execute_queue = bitbang_execute_queue, .speed = ep93xx_speed, - .register_commands = ep93xx_register_commands, .init = ep93xx_init, .quit = ep93xx_quit, }; @@ -122,12 +121,6 @@ static int ep93xx_speed(int speed) return ERROR_OK; } -static int ep93xx_register_commands(struct command_context *cmd_ctx) -{ - - return ERROR_OK; -} - static int set_gonk_mode(void) { void *syscon; @@ -202,8 +195,8 @@ static int ep93xx_init(void) gpio_data_register = gpio_controller + 0x08; gpio_data_direction_register = gpio_controller + 0x18; - LOG_INFO("gpio_data_register = %p\n", gpio_data_register); - LOG_INFO("gpio_data_direction_reg = %p\n", gpio_data_direction_register); + LOG_INFO("gpio_data_register = %p", gpio_data_register); + LOG_INFO("gpio_data_direction_reg = %p", gpio_data_direction_register); /* * Configure bit 0 (TDO) as an input, and bits 1-5 (TDI, TCK * TMS, TRST, SRST) as outputs. Drive TDI and TCK low, and