summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-03 07:55:56 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-03 07:55:56 +0000
commitc68684c2e6790213fd37fff6626604632e75923b (patch)
treef5ad04d7286b609098d426db52bf21ee0b685144
parent80d66c9fcbe16d1adb42de52ec53901fca9f11ae (diff)
downloadopenocd_libswd-c68684c2e6790213fd37fff6626604632e75923b.tar.gz
openocd_libswd-c68684c2e6790213fd37fff6626604632e75923b.tar.bz2
openocd_libswd-c68684c2e6790213fd37fff6626604632e75923b.tar.xz
openocd_libswd-c68684c2e6790213fd37fff6626604632e75923b.zip
catchup with jtag refactoring.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2031 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--configure.in1
-rw-r--r--src/jtag/zy1000.c14
2 files changed, 1 insertions, 14 deletions
diff --git a/configure.in b/configure.in
index 451e9de5..18c0717c 100644
--- a/configure.in
+++ b/configure.in
@@ -454,7 +454,6 @@ else
fi
if test $build_ecosboard = yes; then
- build_bitbang=yes
AC_DEFINE(BUILD_ECOSBOARD, 1, [1 if you want eCosBoard.])
else
AC_DEFINE(BUILD_ECOSBOARD, 0, [0 if you don't want eCosBoard.])
diff --git a/src/jtag/zy1000.c b/src/jtag/zy1000.c
index 2cdd2fdc..52619b15 100644
--- a/src/jtag/zy1000.c
+++ b/src/jtag/zy1000.c
@@ -23,7 +23,6 @@
#include "embeddedice.h"
#include "minidriver.h"
#include "interface.h"
-#include "bitbang.h"
#include <cyg/hal/hal_io.h> // low level i/o
#include <cyg/hal/hal_diag.h>
@@ -117,7 +116,7 @@ static int zy1000_power_dropout(int *dropout)
jtag_interface_t zy1000_interface =
{
.name = "ZY1000",
- .execute_queue = bitbang_execute_queue,
+ .execute_queue = NULL,
.speed = zy1000_speed,
.register_commands = zy1000_register_commands,
.init = zy1000_init,
@@ -128,15 +127,6 @@ jtag_interface_t zy1000_interface =
.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)
{
@@ -368,8 +358,6 @@ int zy1000_init(void)
zy1000_reset(0, 0);
zy1000_speed(jtag_speed);
- bitbang_interface = &zy1000_bitbang;
-
return ERROR_OK;
}