]> git.sur5r.net Git - openocd/commitdiff
change #include "jtag.h" to <jtag/jtag.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:31 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:24:33 +0000 (04:24 -0800)
Changes from the flat namespace to heirarchical one.  Instead of writing:

#include "jtag.h"

the following form should be used.

#include <jtag/jtag.h>

The exception is from .c files in the same directory.

15 files changed:
src/ecosboard.c
src/flash/nor/str9xpec.h
src/jtag/commands.h
src/jtag/interface.h
src/openocd.c
src/pld/virtex2.h
src/server/gdb_server.c
src/svf/svf.c
src/svf/svf.h
src/target/arm_dpm.c
src/target/arm_jtag.h
src/target/avrt.h
src/target/mips_ejtag.h
src/target/target.c
src/xsvf/xsvf.c

index 5d93936804a4494f9d35db31e46b7612796489c1..b42a777cd4aba65978f7a79ccf9c73c87834e1e7 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include <helper/types.h>
-#include "jtag.h"
+#include <jtag/jtag.h>
 #include <helper/ioutil.h>
 #include <helper/configuration.h>
 #include "xsvf.h"
index 1c8d41b191c25cbc8a2417b376b819c6f91fefcd..1d5ce94377bfdc32f7d70265e6c53a13b8785a0f 100644 (file)
@@ -24,7 +24,7 @@
 #define STR9XPEC_H
 
 #include "flash.h"
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 struct str9xpec_flash_controller
 {
index 967a8349e277683983f78358244612563d5a028c..86ded1520b239c73702f2e7759a391fe8f2fe9ac 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef JTAG_COMMANDS_H
 #define JTAG_COMMANDS_H
 
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 /**
  * The inferred type of a scan_command_s structure, indicating whether
index d55782ad8574d79bb7c7c73abf092dfc26138e20..a264d69f274ba61c61fdad96ec2471952421b24a 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef OPENOCD_JTAG_INTERFACE_H
 #define OPENOCD_JTAG_INTERFACE_H
 
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 /* @file
  * The "Cable Helper API" is what the cable drivers can use to help
index 24535152e7fe2cc9ad621e334af45eb5c6c6a414..38eb57b0c76933151ef856a812eb91df87233ee6 100644 (file)
@@ -29,7 +29,7 @@
 #endif
 
 #include "openocd.h"
-#include "jtag.h"
+#include <jtag/jtag.h>
 #include <helper/ioutil.h>
 #include <helper/configuration.h>
 #include "xsvf.h"
index 8e0760454b87a6b6567ff81ce47606f17de0f19d..4cefdf4451cd323065690b3c0f5674d5248df487 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef VIRTEX2_H
 #define VIRTEX2_H
 
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 struct virtex2_pld_device
 {
index 7fb36e41023db465aedc242297e77bede0336ff8..ef8d7f22900dfd45b80fd21df0354a2044b52045 100644 (file)
@@ -34,7 +34,7 @@
 #include "flash.h"
 #include "gdb_server.h"
 #include "image.h"
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 
 #if 0
index 65495729149ca2e6854a2451d7ecf38ccbd13ff1..e6d842b7a5edb2175837f3c5454b95a65b172d73 100644 (file)
@@ -31,7 +31,7 @@
 #include "config.h"
 #endif
 
-#include "jtag.h"
+#include <jtag/jtag.h>
 #include "svf.h"
 #include <helper/time_support.h>
 
index f22fc3a8a369fa9b8af41449f76bfb7a317ac2d8..0fd38fb624dc827c4f3db91d5e957a9a686311aa 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef SVF_H
 #define SVF_H
 
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 int svf_register_commands(struct command_context *cmd_ctx);
 
index 434c63e17a4298bb354bcab4da17b1b910dec741..ca3930fca7e4fabfb6fdc3c4b6e18ebc46cb04c8 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "armv4_5.h"           /* REVISIT to become arm.h */
 #include "arm_dpm.h"
-#include "jtag.h"
+#include <jtag/jtag.h>
 #include "register.h"
 #include "breakpoints.h"
 #include "target_type.h"
index d9e7f2aa9bf0ba4c539841a81827aa057cf0846d..6f03fc6eb3607a2a6f33e7c7c29c53407e8c4651 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef ARM_JTAG
 #define ARM_JTAG
 
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 struct arm_jtag
 {
index 145f836f1a79496e1ba4d03cbf15895cc1a39bb6..221296a9545c8167696166dfee0f72ae5dc44537 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef AVRT_H
 #define AVRT_H
 
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 struct mcu_jtag
 {
index 6a653d4f893ff7935f5c690af42612df08d3dc3f..93b4a6aef48a52e7df2adaa6277e8b67cef44927 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef MIPS_EJTAG
 #define MIPS_EJTAG
 
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 /* tap instructions */
 #define EJTAG_INST_IDCODE              0x01
index e42601956b01cb0cc988652014050408658aa39e..597046faa97b4cfc2fb8db9aaf543642924184d0 100644 (file)
@@ -41,7 +41,7 @@
 #include "register.h"
 #include "trace.h"
 #include "image.h"
-#include "jtag.h"
+#include <jtag/jtag.h>
 
 
 static int target_array2mem(Jim_Interp *interp, struct target *target, int argc, Jim_Obj *const *argv);
index f5c89d441bf14edefae70e47838f30413563b0a5..5cacbed808a2dea2a3197a6af9e030e5527e160c 100644 (file)
@@ -41,7 +41,7 @@
 #endif
 
 #include "xsvf.h"
-#include "jtag.h"
+#include <jtag/jtag.h>
 #include "svf.h"