comparison src/aci2/aci/aci_pei.c @ 653:094152d97ce7

Luna bring-up: workaround for slow LCD init sequence
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 May 2020 20:08:01 +0000
parents ba63f14d1e84
children
comparison
equal deleted inserted replaced
652:41c03ea90403 653:094152d97ce7
149 #include "ati_bat.h" 149 #include "ati_bat.h"
150 #endif 150 #endif
151 #endif 151 #endif
152 152
153 extern const char firmware_version_str[]; 153 extern const char firmware_version_str[];
154
155 #if (MMI != 0)
156 extern int r2d_is_running;
157 #endif
154 158
155 159
156 /*==== DEFINE =====================================================*/ 160 /*==== DEFINE =====================================================*/
157 161
158 /*==== EXPORT =====================================================*/ 162 /*==== EXPORT =====================================================*/
1276 { 1280 {
1277 if ((hCommL1 = vsi_c_open (VSI_CALLER L1_NAME)) < VSI_OK) 1281 if ((hCommL1 = vsi_c_open (VSI_CALLER L1_NAME)) < VSI_OK)
1278 return PEI_ERROR; 1282 return PEI_ERROR;
1279 } 1283 }
1280 1284
1285 /* FreeCalypso addition to fix R2D start race condition */
1286 #if (MMI != 0)
1287 if (!r2d_is_running)
1288 return PEI_ERROR;
1289 #endif
1290
1281 #ifdef DTI 1291 #ifdef DTI
1282 #ifdef _SIMULATION_ 1292 #ifdef _SIMULATION_
1283 /* 1293 /*
1284 * initialize dtilib for this entity 1294 * initialize dtilib for this entity
1285 */ 1295 */