FreeCalypso > hg > fc-magnetite
comparison src/g23m-aci/aci/aci_pei.c @ 657:b36733f14177
aci3 for MMI != 0: same R2D check as in aci2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 08 May 2020 00:58:42 +0000 |
parents | f5a1a37cbece |
children |
comparison
equal
deleted
inserted
replaced
656:9c42614e0a5e | 657:b36733f14177 |
---|---|
151 #include "ati_bat.h" | 151 #include "ati_bat.h" |
152 #endif | 152 #endif |
153 #endif | 153 #endif |
154 | 154 |
155 extern const char firmware_version_str[]; | 155 extern const char firmware_version_str[]; |
156 | |
157 #if (MMI != 0) | |
158 extern int r2d_is_running; | |
159 #endif | |
156 | 160 |
157 | 161 |
158 /*==== DEFINE =====================================================*/ | 162 /*==== DEFINE =====================================================*/ |
159 | 163 |
160 /*==== EXPORT =====================================================*/ | 164 /*==== EXPORT =====================================================*/ |
1382 return PEI_ERROR; | 1386 return PEI_ERROR; |
1383 } | 1387 } |
1384 | 1388 |
1385 #endif /* TI_PS_HCOMM_CHANGE */ | 1389 #endif /* TI_PS_HCOMM_CHANGE */ |
1386 | 1390 |
1391 /* FreeCalypso addition to fix R2D start race condition */ | |
1392 #if (MMI != 0) | |
1393 if (!r2d_is_running) | |
1394 return PEI_ERROR; | |
1395 #endif | |
1396 | |
1387 #ifdef DTI | 1397 #ifdef DTI |
1388 #ifdef _SIMULATION_ | 1398 #ifdef _SIMULATION_ |
1389 /* | 1399 /* |
1390 * initialize dtilib for this entity | 1400 * initialize dtilib for this entity |
1391 */ | 1401 */ |