Finish JTAG header file modularization; command factoring follows.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2029 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
4a6adee17e
commit
a3e84343e2
|
@ -21,8 +21,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
|
||||
|
||||
#if PARPORT_USE_PPDEV == 1
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
#include <usb.h>
|
||||
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "bitbang.h"
|
||||
|
||||
|
|
|
@ -25,9 +25,8 @@
|
|||
#endif
|
||||
|
||||
#include "bitbang.h"
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "jtag.h"
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
|
||||
/**
|
||||
* Function bitbang_stableclocks
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "bitq.h"
|
||||
#include "interface.h"
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#ifndef BITQ_H
|
||||
#define BITQ_H
|
||||
|
||||
#include "jtag.h"
|
||||
#include "commands.h"
|
||||
|
||||
typedef struct bitq_interface_s
|
||||
{
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "bitbang.h"
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "bitbang.h"
|
||||
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
#endif
|
||||
|
||||
/* project specific includes */
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
#include "time_support.h"
|
||||
|
||||
#if IS_CYGWIN == 1
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
|
||||
|
||||
#if 1
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
|
||||
#include <usb.h>
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "jtag.h"
|
||||
#include "minidriver.h"
|
||||
#include "interface.h"
|
||||
|
|
|
@ -552,10 +552,6 @@ extern int jtag_srst_asserted(int* srst_asserted);
|
|||
*/
|
||||
extern void jtag_check_value_mask(scan_field_t *field, u8 *value, u8 *mask);
|
||||
|
||||
#ifdef INCLUDE_JTAG_INTERFACE_H
|
||||
#include "commands.h"
|
||||
#endif // INCLUDE_JTAG_INTERFACE_H
|
||||
|
||||
extern void jtag_sleep(u32 us);
|
||||
extern int jtag_call_event_callbacks(enum jtag_event event);
|
||||
extern int jtag_register_event_callback(int (* callback)(enum jtag_event event, void* priv), void* priv);
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "minidriver.h"
|
||||
#include "command.h"
|
||||
|
|
|
@ -68,6 +68,8 @@ static inline void interface_jtag_add_scan_check_alloc(scan_field_t *field)
|
|||
|
||||
#else
|
||||
|
||||
#include "commands.h"
|
||||
|
||||
static inline void interface_jtag_alloc_in_value32(scan_field_t *field)
|
||||
{
|
||||
field->in_value = (u8 *)cmd_queue_alloc(4);
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "bitbang.h"
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "windows.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "time_support.h"
|
||||
#include "bitq.h"
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
#endif
|
||||
|
||||
/* project specific includes */
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
#include "rlink.h"
|
||||
#include "st7.h"
|
||||
#include "ep1_cmd.h"
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
|
||||
#include <usb.h>
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "interface.h"
|
||||
#include "commands.h"
|
||||
|
||||
#include <usb.h>
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define INCLUDE_JTAG_INTERFACE_H
|
||||
#include "embeddedice.h"
|
||||
#include "minidriver.h"
|
||||
#include "interface.h"
|
||||
|
|
Loading…
Reference in New Issue