[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/driver/inc/pub/drvs_config.h b/cp/ps/driver/inc/pub/drvs_config.h
new file mode 100644
index 0000000..46645f5
--- /dev/null
+++ b/cp/ps/driver/inc/pub/drvs_config.h
@@ -0,0 +1,95 @@
+/***********************************************************************

+* Copyright (C) 2013, ZTE Corporation.

+*

+* File Name: 	drvs_config.h

+* File Mark:

+* Description:  drv configurate declaration.

+* Others:

+* Version:  v1.0

+* Author:   geanfeng

+* Date:     2013-04-03

+

+**********************************************************************/

+#ifndef    _DRVS_CONFIG_H_

+#define    _DRVS_CONFIG_H_

+

+

+/*************************************************************************

+*                            Include files                                                                         *

+*************************************************************************/

+

+/****************************************************************************

+* 	                         Base Type

+****************************************************************************/

+#define DRV_CONFIG(x)  DRV_CONFIG_##x

+

+#ifdef DRV_CONFIG_C_DEFINE

+#define DRV_CONFIG_DEFINE(x)  int DRV_CONFIG_##x;

+#else

+#ifdef DRV_CONFIG_WRITE_ENABLE

+#define DRV_CONFIG_DEFINE(x)  extern int DRV_CONFIG_##x;

+#else

+#define DRV_CONFIG_DEFINE(x)  extern const int DRV_CONFIG_##x;

+#endif

+#endif

+/**************************************************************************

+*                            Types                                                                                   *

+**************************************************************************/

+/*

+* INT

+*/

+

+

+/*

+* TIMER

+*/

+

+/*

+* USB

+*/

+DRV_CONFIG_DEFINE(USB_HIGHSPEED)

+DRV_CONFIG_DEFINE(USB_VNIC_HALF_DL_BUFF_CNT)

+DRV_CONFIG_DEFINE(USB_IP_4BYTE_ALIGNMENT)

+DRV_CONFIG_DEFINE(USB_VNIC_ADJUST_MAXPKTNUM)

+

+/*

+* I2C

+*/

+DRV_CONFIG_DEFINE(USE_PMIC_I2C)

+DRV_CONFIG_DEFINE(USE_I2C0)

+DRV_CONFIG_DEFINE(USE_I2C1)

+

+/*

+* FLASH TYPE

+*/

+DRV_CONFIG_DEFINE(USE_NAND)

+DRV_CONFIG_DEFINE(USE_SPI_NAND)

+DRV_CONFIG_DEFINE(USE_MMC)

+DRV_CONFIG_DEFINE(USE_PART)

+

+/*

+* UART 

+*/

+DRV_CONFIG_DEFINE(USE_UART_AUTOBAUD)

+/**************************************************************************

+*                            Global  Variable                                                                             *

+**************************************************************************/

+

+/**************************************************************************

+ *                           Function Prototypes                                                                        *

+ **************************************************************************/

+ /****************************************************************************

+ * Function:   zDrvConfig_Initiate

+ * Description: initialize drv configuration;

+ * Parameters:

+ *   Input:

+ *   Output:

+ *

+ * Returns:

+ *     SINT32

+ *

+ * Others:

+ ***************************************************************************/

+SINT32 zDrvConfig_Initiate(VOID);

+

+#endif    /*_DRVS_CONFIG_H_*/