import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / eemcs / eemcs_cfg.h
1 #ifndef __EEMCS_CFG_H__
2 #define __EEMCS_CFG_H__
3
4
5 //--------------feature configure--------------//
6 #define _ECCMNI_SEQ_SUPPORT_ //ADD sequence number in cccih->reserved
7 #define __ECCMNI_SUPPORT__
8 #define __EEMCS_EXPT_SUPPORT__ //exception mode support
9 #define __EEMCS_XBOOT_SUPPORT__ //Enable/Disable xBoot flow
10
11 #define ENABLE_AEE_MD_EE //disable for bring up
12 #define ENABLE_MD_WDT_PROCESS //disable for bring up for md not enable wdt at bring up
13 //#define ENABLE_CONN_COEX_MSG //disable for bring up
14
15
16 //--------------feature configure--------------//
17 #define EE_INIT_TIMER (2*HZ) //sdio exception handshake timeout
18 #define EE_HS1_TIMER (10*HZ) //sdio exception handshake complete -> AP receive MD_EX msg
19 #define EE_HS2_TIMER (5*HZ) //AP receive MD_EX msg -> AP receive MD_EX_RECV_OK msg
20
21 #define CCCI_MTU_3456B //ccci user raw data size from (4096-128) to 3456(3.5K-128)
22 //#define CCCI_SDIO_HEAD //add sdio header for sdio driver saving info, which is included in 128B
23
24 #define MD_EX_LOG_SIZE (512) //size of modem send exception info
25 #define MD_EX_MEM_SIZE (2*1024) //size of modem exception memory, which is print in AEE
26 #define MD_EX_BOOT_TRA_START_OFF (0x400) //modem boot up trace start offset in exception memory
27 #define MD_EX_BOOT_TRA_END_OFF (0x780) //modem boot up trace end offset in exception memory
28
29
30 //--------------Debug&UT configure--------------//
31 //#define _EEMCS_EXCEPTION_UT //Enable exception mode UT
32 //#define _ECCMNI_LB_UT_ //configure EMCS_NET as UL loopback mode
33 //#define _EEMCS_CDEV_LB_UT_ //configure EMCS_CHAR as UL loopback mode
34 //#define _EEMCS_CCCI_LB_UT //configure EMCS_CCCI as UL loopback mode
35 //#define _EEMCS_FS_UT //Enable FS UT
36 //#define _EEMCS_RPC_UT //Enable RPC UT
37
38 //Temp disable for testing
39 //#define _EEMCS_TRACE_SUPPORT //Enable/Disable xBoot flow tracing
40 //#define _EEMCS_BOOT_UT //Enable/Disable xBoot UT
41
42 #ifdef _EEMCS_CCCI_LB_UT
43 #ifndef _EEMCS_BOOT_UT
44 #define _EEMCS_BOOT_UT
45 #endif
46 #endif
47
48
49 #endif //__EEMCS_CFG_H__
50