Skip to content
Snippets Groups Projects
Commit c68684c2 authored by oharboe's avatar oharboe
Browse files

catchup with jtag refactoring.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2031 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 80d66c9f
No related branches found
No related tags found
No related merge requests found
...@@ -454,7 +454,6 @@ else ...@@ -454,7 +454,6 @@ else
fi fi
if test $build_ecosboard = yes; then if test $build_ecosboard = yes; then
build_bitbang=yes
AC_DEFINE(BUILD_ECOSBOARD, 1, [1 if you want eCosBoard.]) AC_DEFINE(BUILD_ECOSBOARD, 1, [1 if you want eCosBoard.])
else else
AC_DEFINE(BUILD_ECOSBOARD, 0, [0 if you don't want eCosBoard.]) AC_DEFINE(BUILD_ECOSBOARD, 0, [0 if you don't want eCosBoard.])
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "embeddedice.h" #include "embeddedice.h"
#include "minidriver.h" #include "minidriver.h"
#include "interface.h" #include "interface.h"
#include "bitbang.h"
#include <cyg/hal/hal_io.h> // low level i/o #include <cyg/hal/hal_io.h> // low level i/o
#include <cyg/hal/hal_diag.h> #include <cyg/hal/hal_diag.h>
...@@ -117,7 +116,7 @@ static int zy1000_power_dropout(int *dropout) ...@@ -117,7 +116,7 @@ static int zy1000_power_dropout(int *dropout)
jtag_interface_t zy1000_interface = jtag_interface_t zy1000_interface =
{ {
.name = "ZY1000", .name = "ZY1000",
.execute_queue = bitbang_execute_queue, .execute_queue = NULL,
.speed = zy1000_speed, .speed = zy1000_speed,
.register_commands = zy1000_register_commands, .register_commands = zy1000_register_commands,
.init = zy1000_init, .init = zy1000_init,
...@@ -128,15 +127,6 @@ jtag_interface_t zy1000_interface = ...@@ -128,15 +127,6 @@ jtag_interface_t zy1000_interface =
.srst_asserted = zy1000_srst_asserted, .srst_asserted = zy1000_srst_asserted,
}; };
bitbang_interface_t zy1000_bitbang =
{
.read = zy1000_read,
.write = zy1000_write,
.reset = zy1000_reset
};
static void zy1000_write(int tck, int tms, int tdi) static void zy1000_write(int tck, int tms, int tdi)
{ {
...@@ -368,8 +358,6 @@ int zy1000_init(void) ...@@ -368,8 +358,6 @@ int zy1000_init(void)
zy1000_reset(0, 0); zy1000_reset(0, 0);
zy1000_speed(jtag_speed); zy1000_speed(jtag_speed);
bitbang_interface = &zy1000_bitbang;
return ERROR_OK; return ERROR_OK;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment