* 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"
#define VCC_BIT 64
/* system includes */
-#include <sys/io.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
.execute_queue = bitbang_execute_queue,
- .support_statemove = 0,
-
.speed = ep93xx_speed,
.register_commands = ep93xx_register_commands,
.init = ep93xx_init,
{
.read = ep93xx_read,
.write = ep93xx_write,
- .reset = ep93xx_reset
+ .reset = ep93xx_reset,
+ .blink = 0,
};
int ep93xx_read(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);
+ LOG_INFO("gpio_data_register = %p\n", gpio_data_register);
+ LOG_INFO("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