aboutsummaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-05-17 12:27:30 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2012-05-21 16:15:26 +0000
commit7bfcc10839d2a9190cb7ae9fae02280e643b3450 (patch)
treeabc492151151ee445f06765ce20cfdea5bec9a4e /src/target
parenta34b38d621d3598979aecd83a821258bf87a3591 (diff)
downloadriscv-openocd-7bfcc10839d2a9190cb7ae9fae02280e643b3450.zip
riscv-openocd-7bfcc10839d2a9190cb7ae9fae02280e643b3450.tar.gz
riscv-openocd-7bfcc10839d2a9190cb7ae9fae02280e643b3450.tar.bz2
build: add helper/types.h to config.h
this header is used in numerous files and adding to config.h simplifies its use globally. Change-Id: Id724a9950b90504721233022c7fb5768e9bc5548 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/649 Tested-by: jenkins Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Diffstat (limited to 'src/target')
-rw-r--r--src/target/arm_disassembler.h2
-rw-r--r--src/target/arm_simulator.h2
-rw-r--r--src/target/armv4_5_cache.h2
-rw-r--r--src/target/avr32_ap7k.h2
-rw-r--r--src/target/avr32_jtag.c1
-rw-r--r--src/target/breakpoints.h2
-rw-r--r--src/target/mips_m4k.h2
-rw-r--r--src/target/register.c1
-rw-r--r--src/target/smp.c1
-rw-r--r--src/target/target.h2
-rw-r--r--src/target/target_type.h1
-rw-r--r--src/target/trace.h2
12 files changed, 0 insertions, 20 deletions
diff --git a/src/target/arm_disassembler.h b/src/target/arm_disassembler.h
index bdfdb03..07564d6 100644
--- a/src/target/arm_disassembler.h
+++ b/src/target/arm_disassembler.h
@@ -21,8 +21,6 @@
#ifndef ARM_DISASSEMBLER_H
#define ARM_DISASSEMBLER_H
-#include <helper/types.h>
-
enum arm_instruction_type {
ARM_UNKNOWN_INSTUCTION,
diff --git a/src/target/arm_simulator.h b/src/target/arm_simulator.h
index 3a7ac13..38ba4d4 100644
--- a/src/target/arm_simulator.h
+++ b/src/target/arm_simulator.h
@@ -21,8 +21,6 @@
#ifndef ARM_SIMULATOR_H
#define ARM_SIMULATOR_H
-#include <helper/types.h>
-
struct target;
struct arm_sim_interface {
diff --git a/src/target/armv4_5_cache.h b/src/target/armv4_5_cache.h
index fc5e2c7..95273a7 100644
--- a/src/target/armv4_5_cache.h
+++ b/src/target/armv4_5_cache.h
@@ -21,8 +21,6 @@
#ifndef ARMV4_5_CACHE_H
#define ARMV4_5_CACHE_H
-#include <helper/types.h>
-
struct command_context;
struct armv4_5_cachesize {
diff --git a/src/target/avr32_ap7k.h b/src/target/avr32_ap7k.h
index 0b5b281..1e4889a 100644
--- a/src/target/avr32_ap7k.h
+++ b/src/target/avr32_ap7k.h
@@ -20,8 +20,6 @@
#ifndef AVR32_AP7K
#define AVR32_AP7K
-#include <helper/types.h>
-
struct target;
#define AP7k_COMMON_MAGIC 0x4150374b
diff --git a/src/target/avr32_jtag.c b/src/target/avr32_jtag.c
index c88f44e..a363c70 100644
--- a/src/target/avr32_jtag.c
+++ b/src/target/avr32_jtag.c
@@ -22,7 +22,6 @@
#endif
#include "target.h"
-#include "helper/types.h"
#include "jtag/jtag.h"
#include "avr32_jtag.h"
diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h
index 8b1631a..a019e96 100644
--- a/src/target/breakpoints.h
+++ b/src/target/breakpoints.h
@@ -21,8 +21,6 @@
#ifndef BREAKPOINTS_H
#define BREAKPOINTS_H
-#include <helper/types.h>
-
struct target;
enum breakpoint_type {
diff --git a/src/target/mips_m4k.h b/src/target/mips_m4k.h
index 5a9ed77..e21d57e 100644
--- a/src/target/mips_m4k.h
+++ b/src/target/mips_m4k.h
@@ -26,8 +26,6 @@
#ifndef MIPS_M4K_H
#define MIPS_M4K_H
-#include <helper/types.h>
-
struct target;
#define MIPSM4K_COMMON_MAGIC 0xB321B321
diff --git a/src/target/register.c b/src/target/register.c
index 65dc24f..ab1e40b 100644
--- a/src/target/register.c
+++ b/src/target/register.c
@@ -25,7 +25,6 @@
#include "config.h"
#endif
-#include <helper/types.h>
#include "register.h"
#include <helper/log.h>
diff --git a/src/target/smp.c b/src/target/smp.c
index c0936ff..9cd4b01 100644
--- a/src/target/smp.c
+++ b/src/target/smp.c
@@ -23,7 +23,6 @@
#endif
#include "server/server.h"
-#include <helper/types.h>
#include "target/target.h"
diff --git a/src/target/target.h b/src/target/target.h
index 9dc928f..b3025dc 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -33,8 +33,6 @@
#ifndef TARGET_H
#define TARGET_H
-#include <helper/types.h>
-
struct reg;
struct trace;
struct command_context;
diff --git a/src/target/target_type.h b/src/target/target_type.h
index f6f0ea7..7eacd7f 100644
--- a/src/target/target_type.h
+++ b/src/target/target_type.h
@@ -27,7 +27,6 @@
#ifndef TARGET_TYPE_H
#define TARGET_TYPE_H
-#include <helper/types.h>
#include <jim-nvp.h>
struct target;
diff --git a/src/target/trace.h b/src/target/trace.h
index 5eaf8c8..ebcf6b0 100644
--- a/src/target/trace.h
+++ b/src/target/trace.h
@@ -21,8 +21,6 @@
#ifndef TRACE_H
#define TRACE_H
-#include <helper/types.h>
-
struct target;
struct command_context;