FreeCalypso > hg > fc-selenite
comparison src/g23m-aci/aci/aci_pei.c @ 194:a18bf8df5fab
aci_pei.c: sync with Magnetite for (MMI != 0)
There was a change in Magnetite aci3 for (MMI != 0) configuration;
this config does not exist in Selenite, but this change is being
pulled in as a sync in order to keep the diff between Magnetite
and Selenite to a minimum.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 23 May 2020 07:21:43 +0000 |
parents | d211db013bc7 |
children |
comparison
equal
deleted
inserted
replaced
193:6a53de2c4fc2 | 194:a18bf8df5fab |
---|---|
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 */ |