zte's code,first commit
Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/cp/ps/driver/inc/ref/drvs_uart_ref.h b/cp/ps/driver/inc/ref/drvs_uart_ref.h
new file mode 100644
index 0000000..f497362
--- /dev/null
+++ b/cp/ps/driver/inc/ref/drvs_uart_ref.h
@@ -0,0 +1,80 @@
+/*******************************************************************************
+ * Copyright (C) 2007, ZTE Corporation.
+ *
+ * File Name: drvs_uart_ref.h
+ * File Mark:
+ * Description:
+ * Others:
+ * Version: V0.1
+ * Author: yangjupei
+ * Date: 2013-08-26
+ * History 1:
+ * Date:
+ * Version:
+ * Author:
+ * Modification:
+ * History 2:
+ ********************************************************************************/
+
+
+#ifndef __DRVS_UART_REF_H_
+#define __DRVS_UART_REF_H_
+
+#define _UART3_SUPPORT
+/****************************************************************************
+* Include files
+****************************************************************************/
+
+#include "drvs_general.h"
+
+/****************************************************************************
+* Types
+****************************************************************************/
+//define uart ifac type
+typedef enum _T_zDrvUart_Port
+{
+ UART_PORT1 =0,
+ UART_PORT2,
+#ifdef _UART3_SUPPORT
+ UART_PORT3,
+#endif
+ UART_MAX_PORT_NUM
+}
+T_zDrvUart_Port;
+
+/*******************************************************************************
+ * Function: zDrvUart_SetInstance
+ * Description: set uartConfig,and regist uart oprations to dd level
+ * Parameters:
+ * Input: N/A
+ *
+ * Output: N/A
+ * Returns: N/A
+
+********************************************************************************/
+
+VOID zDrvUart_SetInstance(VOID);
+/*******************************************************************************
+ * Function: zDrvUart_SetGPIOforUart
+ * Description: set pins
+ * Parameters:
+ * Input: N/A
+ *
+ * Output: N/A
+ * Returns: N/A
+
+********************************************************************************/
+VOID zDrvUart_SetGPIOforUart(T_zDrvUart_Port UartNum);
+/*******************************************************************************
+ * Function: zDrvUart_SetGPIOforGPIO
+ * Description: set pins
+ * Parameters:
+ * Input: N/A
+ *
+ * Output: N/A
+ * Returns: N/A
+
+********************************************************************************/
+VOID zDrvUart_SetGPIOforGPIO(T_zDrvUart_Port UartNum);
+
+#endif