diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-05-17 12:27:30 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-05-21 16:15:26 +0000 |
commit | 7bfcc10839d2a9190cb7ae9fae02280e643b3450 (patch) | |
tree | abc492151151ee445f06765ce20cfdea5bec9a4e /src/jtag | |
parent | a34b38d621d3598979aecd83a821258bf87a3591 (diff) | |
download | riscv-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/jtag')
-rw-r--r-- | src/jtag/drivers/libusb0_common.h | 1 | ||||
-rw-r--r-- | src/jtag/drivers/libusb1_common.h | 1 | ||||
-rw-r--r-- | src/jtag/drivers/rlink.h | 2 | ||||
-rw-r--r-- | src/jtag/drivers/ulink.c | 1 | ||||
-rw-r--r-- | src/jtag/drivers/usb_common.h | 2 |
5 files changed, 0 insertions, 7 deletions
diff --git a/src/jtag/drivers/libusb0_common.h b/src/jtag/drivers/libusb0_common.h index 9ca65c5..2473c27 100644 --- a/src/jtag/drivers/libusb0_common.h +++ b/src/jtag/drivers/libusb0_common.h @@ -22,7 +22,6 @@ #ifndef JTAG_LIBUSB_COMMON_H #define JTAG_LIBUSB_COMMON_H -#include <helper/types.h> #include <usb.h> #define jtag_libusb_device usb_device diff --git a/src/jtag/drivers/libusb1_common.h b/src/jtag/drivers/libusb1_common.h index 2c570fa..b38fe66 100644 --- a/src/jtag/drivers/libusb1_common.h +++ b/src/jtag/drivers/libusb1_common.h @@ -22,7 +22,6 @@ #ifndef JTAG_LIBUSB_COMMON_H #define JTAG_LIBUSB_COMMON_H -#include <helper/types.h> #include <libusb-1.0/libusb.h> #define jtag_libusb_device libusb_device diff --git a/src/jtag/drivers/rlink.h b/src/jtag/drivers/rlink.h index 0217060..9d1099c 100644 --- a/src/jtag/drivers/rlink.h +++ b/src/jtag/drivers/rlink.h @@ -18,8 +18,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include <helper/types.h> - struct rlink_speed_table { uint8_t const *dtc; uint16_t dtc_size; diff --git a/src/jtag/drivers/ulink.c b/src/jtag/drivers/ulink.c index 4de1a77..2638d4e 100644 --- a/src/jtag/drivers/ulink.c +++ b/src/jtag/drivers/ulink.c @@ -26,7 +26,6 @@ #include <jtag/interface.h> #include <jtag/commands.h> #include <target/image.h> -#include <helper/types.h> #include "usb_common.h" #include "OpenULINK/include/msgtypes.h" diff --git a/src/jtag/drivers/usb_common.h b/src/jtag/drivers/usb_common.h index 468acf9..ebf0c40 100644 --- a/src/jtag/drivers/usb_common.h +++ b/src/jtag/drivers/usb_common.h @@ -20,8 +20,6 @@ #ifndef JTAG_USB_COMMON_H #define JTAG_USB_COMMON_H -#include <helper/types.h> - #include <usb.h> int jtag_usb_open(const uint16_t vids[], const uint16_t pids[], |