commit b5011c8fe6a782310f1345f31807a1afde5520f2
parent d8209428eb028a358f41c50ee3200ea5202550ca
Author: Brian Swetland <swetland@frotz.net>
Date: Mon, 22 Sep 2014 22:00:52 -0700
move u* types to jtag.h
Diffstat:
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/jtag-driver.h b/jtag-driver.h
@@ -17,10 +17,6 @@
#include "jtag.h"
-typedef unsigned char u8;
-typedef unsigned short u16;
-typedef unsigned int u32;
-
typedef struct JDRV JDRV;
typedef struct {
diff --git a/jtag.h b/jtag.h
@@ -15,6 +15,11 @@
#ifndef _JTAG_
#define _JTAG_
+typedef unsigned char u8;
+typedef unsigned short u16;
+typedef unsigned int u32;
+typedef unsigned long u64;
+
#define JTAG_RESET 0
#define JTAG_IDLE 1
#define JTAG_DRSELECT 2