zte's code,first commit
Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/boot/common/src/uboot/include/usb/common.h b/boot/common/src/uboot/include/usb/common.h
new file mode 100644
index 0000000..f7b103b
--- /dev/null
+++ b/boot/common/src/uboot/include/usb/common.h
@@ -0,0 +1,43 @@
+/*******************************************************************************
+* °æÈ¨ËùÓÐ (C)2010, ÉîÛÚÊÐÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+*
+* ÎļþÃû³Æ£º common.h
+* ÄÚÈÝÕªÒª£º
+* ÆäËü˵Ã÷£º
+* µ±Ç°°æ±¾£º 1.0
+* ×÷¡¡¡¡Õߣº ÎÌÔÆ·å
+* Íê³ÉÈÕÆÚ£º 2010-9-30
+*
+*
+*******************************************************************************/
+#ifndef __INCLUDE_COMMON_H_
+#define __INCLUDE_COMMON_H_
+
+#include "type.h"
+#include "config.h"
+
+extern void uart_init(WORD32 PLL_H);
+extern char uart_getc(void);
+extern void uart_putc(const char c);
+extern void uart_puts(const char *s);
+extern int uart_ctrlc(void);
+
+extern int timer_init(void);
+
+extern void hex_to_str(unsigned d, unsigned char w);
+extern int nand_read_4k(void);
+extern void usb_boot(WORD32 USB_ADDR);
+
+extern void run_at(unsigned);
+extern void usdelay(unsigned us);
+extern void print(const char *fmt, ...);
+#define Para_Section __attribute__((__section__ (".para")));
+
+//#define getc uart_getc
+#define putc uart_putc
+#define puts uart_puts
+#define ctrlc uart_ctrlc
+
+#define printk(x) printf(x)
+
+#endif