FreeCalypso > hg > ffs-editor
diff src/cs/system/main/init.c @ 13:c07376e250c1
src/cs/system/main modules patched for passing link
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 04:25:10 +0000 |
parents | 92470e5d0b9e |
children | 9a8a20d45be7 |
line wrap: on
line diff
--- a/src/cs/system/main/init.c Fri May 15 04:01:28 2020 +0000 +++ b/src/cs/system/main/init.c Fri May 15 04:25:10 2020 +0000 @@ -812,33 +812,12 @@ * * Performs Drivers Initialization. */ -void Set_Switch_ON_Cause(void); void Init_Drivers(void) { - -#if (CHIPSET==15) - bspI2c_init(); - bspTwl3029_init(); - - #if (OP_L1_STANDALONE == 0) - Set_Switch_ON_Cause(); - #endif - - - /* Turn on DRP We will make VRMCC to device group Modem - * And Switch it on. - */ - bspTwl3029_Power_setDevGrp(NULL,BSP_TWL3029_POWER_VRMMC,BSP_TWL3029_POWER_DEV_GRP_MODEM); - wait_ARM_cycles(convert_nanosec_to_cycles(100000*2)); - bspTwl3029_Power_enable(NULL,BSP_TWL3029_POWER_VRMMC,BSP_TWL3029_POWER_STATE_ACTIVE); -#endif - -#if (CHIPSET!=15) #if ABB_SEMAPHORE_PROTECTION // Create the ABB semaphore ABB_Sem_Create(); #endif // SEMAPHORE_PROTECTION -#endif #if (OP_L1_STANDALONE == 0) /* @@ -866,10 +845,8 @@ /* * SIM Main Initialization. */ - #if (CHIPSET!=15) + #if 0 /* FC FFS editor */ SIM_Initialize (); - #else - bspUicc_bootInit(); #endif #endif } @@ -949,10 +926,14 @@ */ void Init_Unmask_IT (void) { +#if 0 /* FC FFS editor */ IQ_Unmask(IQ_FRAME); +#endif IQ_Unmask(IQ_UART_IRDA_IT); IQ_Unmask(IQ_UART_IT); +#if 0 /* FC FFS editor */ IQ_Unmask(IQ_ARMIO); +#endif #if (L1_DYN_DSP_DWNLD == 1) IQ_Unmask(IQ_API); #endif