#include "bitbang.h"
/* system includes */
-#include <sys/io.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
.execute_queue = bitbang_execute_queue,
- .support_pathmove = 0,
-
.speed = at91rm9200_speed,
.register_commands = at91rm9200_register_commands,
.init = at91rm9200_init,
{
.read = at91rm9200_read,
.write = at91rm9200_write,
- .reset = at91rm9200_reset
+ .reset = at91rm9200_reset,
+ .blink = 0
};
int at91rm9200_read(void)
int at91rm9200_init(void)
{
- int ret;
struct device_t *cur_device;
cur_device = devices;
if (at91rm9200_device == NULL || at91rm9200_device[0] == 0)
{
at91rm9200_device = "rea_ecr";
- WARNING("No at91rm9200 device specified, using default 'rea_ecr'");
+ LOG_WARNING("No at91rm9200 device specified, using default 'rea_ecr'");
}
while (cur_device->name)
if (!device)
{
- ERROR("No matching device found for %s", at91rm9200_device);
+ LOG_ERROR("No matching device found for %s", at91rm9200_device);
return ERROR_JTAG_INIT_FAILED;
}