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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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[],
|
||||
|
||||
Reference in New Issue
Block a user