[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/pub/config/amt_cfg.mk b/pub/config/amt_cfg.mk
new file mode 100644
index 0000000..aa8ce25
--- /dev/null
+++ b/pub/config/amt_cfg.mk
@@ -0,0 +1,19 @@
+# /*****************************************************************************
+#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+#*
+#* ÎļþÃû³Æ: amt_cfg.mk
+#* Îļþ±êʶ: amt_cfg.mk
+#* ÄÚÈÝÕªÒª: amt¹¤³ÌÅäÖÃÎļþ
+#* ʹÓ÷½·¨: include project.mk
+#*
+#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+#* -----------------------------------------------------------------------------
+#* 2015/06/13 V1.0 Create ÁõÑÇÄÏ ´´½¨
+#*
+# ******************************************************************************/
+
+#*******************************************************************************
+# ¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+
+
diff --git a/pub/config/drv_cfg.mk b/pub/config/drv_cfg.mk
new file mode 100644
index 0000000..f019c06
--- /dev/null
+++ b/pub/config/drv_cfg.mk
@@ -0,0 +1,19 @@
+# /*****************************************************************************
+#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+#*
+#* ÎļþÃû³Æ: drv_cfg.mk
+#* Îļþ±êʶ: drv_cfg.mk
+#* ÄÚÈÝÕªÒª: Çý¶¯¹¤³ÌÅäÖÃÎļþ
+#* ʹÓ÷½·¨: include project.mk
+#*
+#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+#* -----------------------------------------------------------------------------
+#* 2015/06/13 V1.0 Create ÁõÑÇÄÏ ´´½¨
+#*
+# ******************************************************************************/
+
+#*******************************************************************************
+# ¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+
+
diff --git a/pub/config/infra_cfg.mk b/pub/config/infra_cfg.mk
new file mode 100644
index 0000000..fed2860
--- /dev/null
+++ b/pub/config/infra_cfg.mk
@@ -0,0 +1,19 @@
+# /*****************************************************************************
+#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+#*
+#* ÎļþÃû³Æ: infra_cfg.mk
+#* Îļþ±êʶ: infra_cfg.mk
+#* ÄÚÈÝÕªÒª: »ù´¡¹¤³ÌÅäÖÃÎļþ
+#* ʹÓ÷½·¨: include project.mk
+#*
+#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+#* -----------------------------------------------------------------------------
+#* 2015/06/13 V1.0 Create ÁõÑÇÄÏ ´´½¨
+#*
+# ******************************************************************************/
+
+#*******************************************************************************
+#¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+
+
diff --git a/pub/config/project.mk b/pub/config/project.mk
new file mode 100644
index 0000000..639baef
--- /dev/null
+++ b/pub/config/project.mk
@@ -0,0 +1,89 @@
+# /*****************************************************************************
+#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+#*
+#* ÎļþÃû³Æ: project.mk
+#* Îļþ±êʶ: project.mk
+#* ÄÚÈÝÕªÒª: ¹¤³ÌÅäÖÃÎļþ
+#* ʹÓ÷½·¨: include project.mk
+#*
+#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+#* -----------------------------------------------------------------------------
+#* 2015/05/08 V1.0 Create ÁõÑÇÄÏ ´´½¨
+#*
+# ******************************************************************************/
+
+#===============================================================================
+# Include path
+#===============================================================================
+export CPU_PUB_INCLUDE = $(CPU_PUB_ROOT)/include
+export CPU_PUB_INFRA_INCLUDE = $(CPU_PUB_ROOT)/include/infra
+export CPU_PUB_PS_INCLUDE = $(CPU_PUB_ROOT)/include/ps_phy
+export CPU_PUB_DRV_INCLUDE = $(CPU_PUB_ROOT)/include/drv
+export CPU_PUB_TOOLS_INCLUDE = $(CPU_PUB_ROOT)/include/tools
+export CPU_PUB_PSM_INCLUDE = $(CPU_PUB_ROOT)/include/psm
+export CPU_PUB_AMT_INCLUDE = $(CPU_PUB_ROOT)/include/amt
+
+export CPU_PUB_PRJ_INCLUDE = $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/include
+export CPU_PUB_PRJ_INFRA_INCLUDE = $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/include/infra
+export CPU_PUB_PRJ_PS_INCLUDE = $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/include/ps_phy
+export CPU_PUB_PRJ_DRV_INCLUDE = $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/include/drv
+export CPU_PUB_PRJ_TOOLS_INCLUDE = $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/include/tools
+export CPU_PUB_PRJ_PSM_INCLUDE = $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/include/psm
+export CPU_PUB_PRJ_AMT_INCLUDE = $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/include/amt
+export CPU_PUB_PRJ_NV_INCLUDE = $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/include/nv
+
+#===============================================================================
+# CPU arch define
+#===============================================================================
+ifeq ($(CPU_PUB_ARCH),ARM)
+CPU_PUB_DEFINE += -D_CPU_ARM
+CPU_PUB_DEFINE += -DCPU_SHIFT=0
+endif
+
+ifeq ($(CPU_PUB_ARCH),ZSP)
+CPU_PUB_DEFINE += -D_CPU_ZSP
+CPU_PUB_DEFINE += -DCPU_SHIFT=1
+endif
+
+#===============================================================================
+# Chip macro define
+#===============================================================================
+ifeq ($(PRJ_NAME),zx2804)
+CPU_PUB_DEFINE += -D_CHIP_ZX2804
+endif
+
+ifeq ($(PRJ_NAME),zx297510)
+CPU_PUB_DEFINE += -D_CHIP_ZX297510
+endif
+
+ifeq ($(PRJ_NAME),zx297520)
+CPU_PUB_DEFINE += -D_CHIP_ZX297520
+endif
+
+ifeq ($(PRJ_NAME),zx297520v1_1)
+CPU_PUB_DEFINE += -D_CHIP_ZX297520V1_1
+endif
+
+ifeq ($(PRJ_NAME),zx297520v2)
+CPU_PUB_DEFINE += -D_CHIP_ZX297520V2
+endif
+
+ifeq ($(PRJ_NAME),zx297520v3)
+CPU_PUB_DEFINE += -D_CHIP_ZX297520V3
+endif
+
+#===============================================================================
+# Project makefile
+#===============================================================================
+include $(CPU_PUB_ROOT)/project/$(PRJ_NAME)/config/project.mk
+
+#===============================================================================
+# Project macro define
+#===============================================================================
+include $(CPU_PUB_ROOT)/config/infra_cfg.mk
+include $(CPU_PUB_ROOT)/config/ps_phy_cfg.mk
+include $(CPU_PUB_ROOT)/config/drv_cfg.mk
+include $(CPU_PUB_ROOT)/config/tools_cfg.mk
+include $(CPU_PUB_ROOT)/config/psm_cfg.mk
+include $(CPU_PUB_ROOT)/config/amt_cfg.mk
+
diff --git a/pub/config/ps_phy_cfg.mk b/pub/config/ps_phy_cfg.mk
new file mode 100644
index 0000000..c04d425
--- /dev/null
+++ b/pub/config/ps_phy_cfg.mk
@@ -0,0 +1,82 @@
+# /*****************************************************************************
+#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+#*
+#* ÎļþÃû³Æ: ps_cfg.mk
+#* Îļþ±êʶ: ps_cfg.mk
+#* ÄÚÈÝÕªÒª: ÐÒéÕ»¹¤³ÌÅäÖÃÎļþ
+#* ʹÓ÷½·¨: include project.mk
+#*
+#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+#* -----------------------------------------------------------------------------
+#* 2015/06/13 V1.0 Create ÁõÑÇÄÏ ´´½¨
+#*
+# ******************************************************************************/
+
+#*******************************************************************************
+# R8¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_R8_SUPPORT), yes)
+CPU_PUB_DEFINE += -DR8_SUPPORT
+endif
+
+#*******************************************************************************
+# R9¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_R9_SUPPORT), yes)
+CPU_PUB_DEFINE += -DR9_SUPPORT
+endif
+
+#*******************************************************************************
+# R10¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_R10_SUPPORT), yes)
+CPU_PUB_DEFINE += -DR10_SUPPORT
+endif
+
+#*******************************************************************************
+# RAT¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_RAT_TDS), yes)
+CPU_PUB_DEFINE += -D_USE_RAT_TDS
+endif
+
+ifeq ($(USE_RAT_WCDMA), yes)
+CPU_PUB_DEFINE += -D_USE_RAT_WCDMA
+endif
+
+ifeq ($(USE_RAT_LTE), yes)
+CPU_PUB_DEFINE += -D_USE_RAT_LTE
+endif
+
+ifeq ($(USE_RAT_LTEA), yes)
+CPU_PUB_DEFINE += -D_USE_RAT_LTEA
+endif
+
+#*******************************************************************************
+# TD-SCDMA HSPA+¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_HSPAPLUS), yes)
+CPU_PUB_DEFINE += -D_USE_HSPAPLUS
+endif
+
+#*******************************************************************************
+# Byte to word¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_LTE_BYTE_TO_WORD), yes)
+CPU_PUB_DEFINE += -D_USE_LTE_BYTE_TO_WORD
+endif
+
+#*******************************************************************************
+# Single antenna¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_SINGLE_ANTENNA_SUPPORT), yes)
+CPU_PUB_DEFINE += -DSINGLE_ANTENNA_SUPPORT
+endif
+
+#*******************************************************************************
+# LTEAÈÚºÏLTE¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_LTEA_MERGE_LTE), yes)
+CPU_PUB_DEFINE += -D_USE_LTEA_MERGE_LTE
+endif
+
diff --git a/pub/config/psm_cfg.mk b/pub/config/psm_cfg.mk
new file mode 100644
index 0000000..3fa1788
--- /dev/null
+++ b/pub/config/psm_cfg.mk
@@ -0,0 +1,108 @@
+# /*****************************************************************************
+#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+#*
+#* ÎļþÃû³Æ: psm_cfg.mk
+#* Îļþ±êʶ: psm_cfg.mk
+#* ÄÚÈÝÕªÒª: Ê¡µç¹¤³ÌÅäÖÃÎļþ
+#* ʹÓ÷½·¨: include project.mk
+#*
+#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+#* -----------------------------------------------------------------------------
+#* 2015/06/13 V1.0 Create ÁõÑÇÄÏ ´´½¨
+#*
+# ******************************************************************************/
+
+#*******************************************************************************
+# PSM¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_PSM), yes)
+CPU_PUB_DEFINE += -D_USE_PSM
+endif
+
+#*******************************************************************************
+# ÉäÆµÊ¡µçµÄ½øÈëºÍÍ˳öÔÚGSMÎïÀí²ã½øÐеŦÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_RFSLEEP_IN_GSM), yes)
+CPU_PUB_DEFINE += -D_USE_RFSLEEP_IN_GSM
+endif
+
+#*******************************************************************************
+# CPUµ÷Ƶ¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_CPU_DFS_ON), yes)
+CPU_PUB_DEFINE += -D_CPU_DFS_ON
+endif
+
+#*******************************************************************************
+# AXIµ÷Ƶ¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+#Èí¼þ·½°¸
+ifeq ($(USE_AXI_DFS_ON), yes)
+CPU_PUB_DEFINE += -D_AXI_DFS_ON
+endif
+
+#Ó²¼þ·½°¸
+ifeq ($(USE_AXI_DFS_ON_HW), yes)
+CPU_PUB_DEFINE += -D_AXI_DFS_ON_HW
+endif
+
+#*******************************************************************************
+# DDR×Ô¶¯×Ôˢй¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_DDR_AUTO_ON), yes)
+CPU_PUB_DEFINE += -D_DDR_AUTO_ON
+endif
+
+#*******************************************************************************
+# DDRµ÷Ƶ¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_DDR_DFS_ON), yes)
+CPU_PUB_DEFINE += -D_DDR_DFS_ON
+endif
+
+
+#*******************************************************************************
+# VCOREµ÷ѹ¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_VCORE_DVS_ON), yes)
+CPU_PUB_DEFINE += -D_VCORE_DVS_ON
+endif
+
+
+#*******************************************************************************
+# ƽ̨²¹¶¡ºê---RFÊ¡µçºêÊÇ·ñ»¥³â¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+ifeq ($(USE_PSM_RF_MUTEX), yes)
+CPU_PUB_DEFINE += -D_USE_PSM_RF_MUTEX
+endif
+
+
+#*******************************************************************************
+# ƽ̨²¹¶¡ºê---NMIÖжÏÌæ»»ÎªICP
+#*******************************************************************************
+ifeq ($(USE_LPM_R7_WAKE_ZSP), yes)
+CPU_PUB_DEFINE += -D_USE_LPM_R7_WAKE_ZSP
+endif
+
+
+#*******************************************************************************
+# ƽ̨²¹¶¡ºê---ICPÖ¡Öжϵ÷¶È
+#*******************************************************************************
+ifeq ($(USE_ICP_SFN_INT), yes)
+CPU_PUB_DEFINE += -D_USE_ICP_SFN_INT
+endif
+
+
+#*******************************************************************************
+# ƽ̨²¹¶¡ºê---DPLL¿ØÖƺê
+#*******************************************************************************
+ifeq ($(USE_DPLL_HW_CTRL), yes)
+CPU_PUB_DEFINE += -D_USE_DPLL_HW_CTRL
+endif
+
+
+
+
+
+
+
diff --git a/pub/config/tools_cfg.mk b/pub/config/tools_cfg.mk
new file mode 100644
index 0000000..b3a0626
--- /dev/null
+++ b/pub/config/tools_cfg.mk
@@ -0,0 +1,19 @@
+# /*****************************************************************************
+#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+#*
+#* ÎļþÃû³Æ: tools_cfg.mk
+#* Îļþ±êʶ: tools_cfg.mk
+#* ÄÚÈÝÕªÒª: ¹¤¾ß¹¤³ÌÅäÖÃÎļþ
+#* ʹÓ÷½·¨: include project.mk
+#*
+#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+#* -----------------------------------------------------------------------------
+#* 2015/06/13 V1.0 Create ÁõÑÇÄÏ ´´½¨
+#*
+# ******************************************************************************/
+
+#*******************************************************************************
+# ¹¦ÄÜ¿ª¹Ø
+#*******************************************************************************
+
+