X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fep93xx.c;h=88ed50c1f2fe41286931083f536e3112af3f3050;hp=9c24dba447323f9e19c1844f68b50c9c885ede94;hb=20e4e77cdf366dedac21ff5670c54291feadfc05;hpb=8b4e882a1630d63bbc9840fa3f968e36b6ac3702 diff --git a/src/jtag/ep93xx.c b/src/jtag/ep93xx.c index 9c24dba447..88ed50c1f2 100644 --- a/src/jtag/ep93xx.c +++ b/src/jtag/ep93xx.c @@ -17,7 +17,10 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif + #include "log.h" #include "jtag.h" #include "bitbang.h" @@ -31,7 +34,6 @@ #define VCC_BIT 64 /* system includes */ -#include #include #include #include @@ -64,7 +66,7 @@ jtag_interface_t ep93xx_interface = .execute_queue = bitbang_execute_queue, - .support_statemove = 0, + .support_pathmove = 0, .speed = ep93xx_speed, .register_commands = ep93xx_register_commands, @@ -208,8 +210,8 @@ int ep93xx_init(void) gpio_data_register = gpio_controller + 0x08; gpio_data_direction_register = gpio_controller + 0x18; - printf("gpio_data_register = %08x\n", gpio_data_register); - printf("gpio_data_direction_reg = %08x\n", gpio_data_direction_register); + printf("gpio_data_register = %p\n", gpio_data_register); + printf("gpio_data_direction_reg = %p\n", 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