aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-03 01:26:01 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-03 01:26:01 +0000
commit67caf323f74937e11c0f5f95c2ee57d2786ac02b (patch)
tree586921687ee8853ee67e3a2a44dae4e22e4a4d0f /src
parentc275cfd3dac90bb44ae6be6de5f53c93c645bde9 (diff)
downloadriscv-openocd-67caf323f74937e11c0f5f95c2ee57d2786ac02b.zip
riscv-openocd-67caf323f74937e11c0f5f95c2ee57d2786ac02b.tar.gz
riscv-openocd-67caf323f74937e11c0f5f95c2ee57d2786ac02b.tar.bz2
Remove interface.h from public JTAG header, include it where required.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2016 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/amt_jtagaccel.c2
-rw-r--r--src/jtag/arm-jtag-ew.c2
-rw-r--r--src/jtag/at91rm9200.c2
-rw-r--r--src/jtag/bitbang.c1
-rw-r--r--src/jtag/bitq.c1
-rw-r--r--src/jtag/dummy.c2
-rw-r--r--src/jtag/ep93xx.c2
-rw-r--r--src/jtag/ft2232.c2
-rw-r--r--src/jtag/gw16012.c2
-rw-r--r--src/jtag/jlink.c2
-rw-r--r--src/jtag/jtag.c1
-rw-r--r--src/jtag/jtag.h2
-rw-r--r--src/jtag/jtag_driver.c2
-rw-r--r--src/jtag/parport.c2
-rw-r--r--src/jtag/presto.c2
-rw-r--r--src/jtag/rlink/rlink.c2
-rw-r--r--src/jtag/usbprog.c2
-rw-r--r--src/jtag/vsllink.c2
-rw-r--r--src/jtag/zy1000.c1
-rw-r--r--src/xsvf/xsvf.c1
20 files changed, 18 insertions, 17 deletions
diff --git a/src/jtag/amt_jtagaccel.c b/src/jtag/amt_jtagaccel.c
index 694a4a7..39fed2c 100644
--- a/src/jtag/amt_jtagaccel.c
+++ b/src/jtag/amt_jtagaccel.c
@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#if PARPORT_USE_PPDEV == 1
diff --git a/src/jtag/arm-jtag-ew.c b/src/jtag/arm-jtag-ew.c
index 4dc854a..e90c740 100644
--- a/src/jtag/arm-jtag-ew.c
+++ b/src/jtag/arm-jtag-ew.c
@@ -25,7 +25,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include <usb.h>
diff --git a/src/jtag/at91rm9200.c b/src/jtag/at91rm9200.c
index d324978..32e9c55 100644
--- a/src/jtag/at91rm9200.c
+++ b/src/jtag/at91rm9200.c
@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include "bitbang.h"
#include <sys/mman.h>
diff --git a/src/jtag/bitbang.c b/src/jtag/bitbang.c
index ae07a90..75e413d 100644
--- a/src/jtag/bitbang.c
+++ b/src/jtag/bitbang.c
@@ -27,6 +27,7 @@
#include "bitbang.h"
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
+#include "interface.h"
/**
* Function bitbang_stableclocks
diff --git a/src/jtag/bitq.c b/src/jtag/bitq.c
index 40b704b..b034a93 100644
--- a/src/jtag/bitq.c
+++ b/src/jtag/bitq.c
@@ -23,6 +23,7 @@
#define INCLUDE_JTAG_INTERFACE_H
#include "bitq.h"
+#include "interface.h"
bitq_interface_t* bitq_interface; /* low level bit queue interface */
diff --git a/src/jtag/dummy.c b/src/jtag/dummy.c
index cc799fa..0eab32d 100644
--- a/src/jtag/dummy.c
+++ b/src/jtag/dummy.c
@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include "bitbang.h"
diff --git a/src/jtag/ep93xx.c b/src/jtag/ep93xx.c
index 0ac4c2f..55d1eee 100644
--- a/src/jtag/ep93xx.c
+++ b/src/jtag/ep93xx.c
@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include "bitbang.h"
#define TDO_BIT 1
diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c
index d177c6c..18ecdd0 100644
--- a/src/jtag/ft2232.c
+++ b/src/jtag/ft2232.c
@@ -41,7 +41,7 @@
/* project specific includes */
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include "time_support.h"
#if IS_CYGWIN == 1
diff --git a/src/jtag/gw16012.c b/src/jtag/gw16012.c
index ddb8a4f..441234c 100644
--- a/src/jtag/gw16012.c
+++ b/src/jtag/gw16012.c
@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#if 1
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c
index 33dcd61..eaa4bba 100644
--- a/src/jtag/jlink.c
+++ b/src/jtag/jlink.c
@@ -26,7 +26,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include <usb.h>
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index c8babdc..d8b30e9 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -31,6 +31,7 @@
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "minidriver.h"
+#include "interface.h"
#ifdef HAVE_STRINGS_H
#include <strings.h>
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index d4b9cb7..0c2f133 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -224,8 +224,6 @@ extern void cmd_queue_free(void);
extern void jtag_queue_command(jtag_command_t *cmd);
extern void jtag_command_queue_reset(void);
-#include "interface.h"
-
#endif // INCLUDE_JTAG_INTERFACE_H
/* forward declaration */
diff --git a/src/jtag/jtag_driver.c b/src/jtag/jtag_driver.c
index c0b9eaa..2319429 100644
--- a/src/jtag/jtag_driver.c
+++ b/src/jtag/jtag_driver.c
@@ -32,7 +32,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include "minidriver.h"
#include "command.h"
diff --git a/src/jtag/parport.c b/src/jtag/parport.c
index 4bb5e74..175a3c9 100644
--- a/src/jtag/parport.c
+++ b/src/jtag/parport.c
@@ -25,7 +25,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include "bitbang.h"
/* -ino: 060521-1036 */
diff --git a/src/jtag/presto.c b/src/jtag/presto.c
index 56543e6..532e798 100644
--- a/src/jtag/presto.c
+++ b/src/jtag/presto.c
@@ -26,7 +26,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include "time_support.h"
#include "bitq.h"
diff --git a/src/jtag/rlink/rlink.c b/src/jtag/rlink/rlink.c
index adb5f34..beef497 100644
--- a/src/jtag/rlink/rlink.c
+++ b/src/jtag/rlink/rlink.c
@@ -29,7 +29,7 @@
/* project specific includes */
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include "rlink.h"
#include "st7.h"
#include "ep1_cmd.h"
diff --git a/src/jtag/usbprog.c b/src/jtag/usbprog.c
index 6281715..0927286 100644
--- a/src/jtag/usbprog.c
+++ b/src/jtag/usbprog.c
@@ -35,7 +35,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include <usb.h>
diff --git a/src/jtag/vsllink.c b/src/jtag/vsllink.c
index 4af92e0..cc2b271 100644
--- a/src/jtag/vsllink.c
+++ b/src/jtag/vsllink.c
@@ -27,7 +27,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
-#include "jtag.h"
+#include "interface.h"
#include <usb.h>
diff --git a/src/jtag/zy1000.c b/src/jtag/zy1000.c
index 73a40f2..4852a56 100644
--- a/src/jtag/zy1000.c
+++ b/src/jtag/zy1000.c
@@ -23,6 +23,7 @@
#define INCLUDE_JTAG_INTERFACE_H
#include "embeddedice.h"
#include "minidriver.h"
+#include "interface.h"
#include "bitbang.h"
#include <cyg/hal/hal_io.h> // low level i/o
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index 6d35591..0ec9f4d 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -41,7 +41,6 @@
#include "config.h"
#endif
-#define INCLUDE_JTAG_INTERFACE_H
#include "xsvf.h"
#include "jtag.h"