All pastes #44830 Raw Edit

Stuff

public text v1 · immutable
#44830 ·published 2006-03-07 21:40 UTC
rendered paste body
tom@ep93xx:~/openocd/src/jtag$ svn diff
Index: jtag.c
===================================================================
--- jtag.c      (revision 47)
+++ jtag.c      (working copy)
@@ -125,6 +125,10 @@
        extern jtag_interface_t amt_jtagaccel_interface;
 #endif

+#if BUILD_EP93XX == 1
+       extern jtag_interface_t ep93xx_interface;
+#endif
+
 jtag_interface_t *jtag_interfaces[] = {
 #if BUILD_PARPORT == 1
        &parport_interface,
@@ -138,6 +142,9 @@
 #if BUILD_AMTJTAGACCEL == 1
        &amt_jtagaccel_interface,
 #endif
+#if BUILD_EP93XX == 1
+       &_ep93xx_interface,
+#endif
        NULL,
 };

Index: Makefile.am
===================================================================
--- Makefile.am (revision 47)
+++ Makefile.am (working copy)
@@ -39,6 +39,12 @@
 AMTJTAGACCELFILES =
 endif

-libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(FTDI2232FILES) $(FTD2XXFILES) $(AMTJTAGACCELFILES)
+if EP93XX
+EP93XXFILES = ep93xx.c
+else
+EP93XXFILES =
+endif

+libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(FTDI2232FILES) $(FTD2XXFILES) $(AMTJTAGACCELFILES) $(EP93XXFI
LES)
+
 noinst_HEADERS = bitbang.h jtag.h