Commit 67caf323 authored by zwelch's avatar zwelch
Browse files

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
parent c275cfd3
......@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#if PARPORT_USE_PPDEV == 1
......
......@@ -25,7 +25,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include <usb.h>
......
......@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include "bitbang.h"
#include <sys/mman.h>
......
......@@ -27,6 +27,7 @@
#include "bitbang.h"
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
/**
* Function bitbang_stableclocks
......
......@@ -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 */
......
......@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include "bitbang.h"
......
......@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include "bitbang.h"
#define TDO_BIT 1
......
......@@ -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
......
......@@ -22,7 +22,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#if 1
......
......@@ -26,7 +26,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include <usb.h>
......
......@@ -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>
......
......@@ -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 */
......
......@@ -32,7 +32,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include "minidriver.h"
#include "command.h"
......
......@@ -25,7 +25,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include "bitbang.h"
/* -ino: 060521-1036 */
......
......@@ -26,7 +26,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include "time_support.h"
#include "bitq.h"
......
......@@ -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"
......
......@@ -35,7 +35,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include <usb.h>
......
......@@ -27,7 +27,7 @@
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include <usb.h>
......
......@@ -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
......
......@@ -41,7 +41,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "xsvf.h"
#include "jtag.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment