Browse Source

Finish JTAG header file modularization; command factoring follows.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2029 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.2.0
zwelch 15 years ago
parent
commit
a3e84343e2
21 changed files with 12 additions and 24 deletions
  1. +1
    -1
      src/jtag/amt_jtagaccel.c
  2. +1
    -1
      src/jtag/arm-jtag-ew.c
  3. +0
    -1
      src/jtag/at91rm9200.c
  4. +1
    -2
      src/jtag/bitbang.c
  5. +0
    -1
      src/jtag/bitq.c
  6. +1
    -1
      src/jtag/bitq.h
  7. +0
    -1
      src/jtag/dummy.c
  8. +0
    -1
      src/jtag/ep93xx.c
  9. +1
    -1
      src/jtag/ft2232.c
  10. +1
    -1
      src/jtag/gw16012.c
  11. +1
    -1
      src/jtag/jlink.c
  12. +0
    -1
      src/jtag/jtag.c
  13. +0
    -4
      src/jtag/jtag.h
  14. +0
    -1
      src/jtag/jtag_driver.c
  15. +2
    -0
      src/jtag/minidriver.h
  16. +0
    -1
      src/jtag/parport.c
  17. +0
    -1
      src/jtag/presto.c
  18. +1
    -1
      src/jtag/rlink/rlink.c
  19. +1
    -1
      src/jtag/usbprog.c
  20. +1
    -1
      src/jtag/vsllink.c
  21. +0
    -1
      src/jtag/zy1000.c

+ 1
- 1
src/jtag/amt_jtagaccel.c View File

@@ -21,8 +21,8 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"


#if PARPORT_USE_PPDEV == 1


+ 1
- 1
src/jtag/arm-jtag-ew.c View File

@@ -24,8 +24,8 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#include <usb.h>




+ 0
- 1
src/jtag/at91rm9200.c View File

@@ -21,7 +21,6 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "bitbang.h"



+ 1
- 2
src/jtag/bitbang.c View File

@@ -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


+ 0
- 1
src/jtag/bitq.c View File

@@ -21,7 +21,6 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "bitq.h"
#include "interface.h"



+ 1
- 1
src/jtag/bitq.h View File

@@ -20,7 +20,7 @@
#ifndef BITQ_H
#define BITQ_H

#include "jtag.h"
#include "commands.h"

typedef struct bitq_interface_s
{


+ 0
- 1
src/jtag/dummy.c View File

@@ -21,7 +21,6 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "bitbang.h"



+ 0
- 1
src/jtag/ep93xx.c View File

@@ -21,7 +21,6 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "bitbang.h"



+ 1
- 1
src/jtag/ft2232.c View File

@@ -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


+ 1
- 1
src/jtag/gw16012.c View File

@@ -21,8 +21,8 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"


#if 1


+ 1
- 1
src/jtag/jlink.c View File

@@ -25,8 +25,8 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"

#include <usb.h>



+ 0
- 1
src/jtag/jtag.c View File

@@ -28,7 +28,6 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "minidriver.h"
#include "interface.h"


+ 0
- 4
src/jtag/jtag.h View File

@@ -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);


+ 0
- 1
src/jtag/jtag_driver.c View File

@@ -31,7 +31,6 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "minidriver.h"
#include "command.h"


+ 2
- 0
src/jtag/minidriver.h View File

@@ -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);


+ 0
- 1
src/jtag/parport.c View File

@@ -24,7 +24,6 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "bitbang.h"



+ 0
- 1
src/jtag/presto.c View File

@@ -25,7 +25,6 @@
#include "windows.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "time_support.h"
#include "bitq.h"


+ 1
- 1
src/jtag/rlink/rlink.c View File

@@ -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"


+ 1
- 1
src/jtag/usbprog.c View File

@@ -34,8 +34,8 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"

#include <usb.h>



+ 1
- 1
src/jtag/vsllink.c View File

@@ -26,8 +26,8 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"

#include <usb.h>



+ 0
- 1
src/jtag/zy1000.c View File

@@ -20,7 +20,6 @@
#include "config.h"
#endif

#define INCLUDE_JTAG_INTERFACE_H
#include "embeddedice.h"
#include "minidriver.h"
#include "interface.h"


Loading…
Cancel
Save