# HG changeset patch # User Mychaela Falconia # Date 1588899522 0 # Node ID b36733f14177f1bf8832fabe3d03235ba5024d78 # Parent 9c42614e0a5e87bd6ba020020481b88bb5230ae3 aci3 for MMI != 0: same R2D check as in aci2 diff -r 9c42614e0a5e -r b36733f14177 src/g23m-aci/aci/aci_pei.c --- a/src/g23m-aci/aci/aci_pei.c Thu May 07 23:19:27 2020 +0000 +++ b/src/g23m-aci/aci/aci_pei.c Fri May 08 00:58:42 2020 +0000 @@ -154,6 +154,10 @@ extern const char firmware_version_str[]; +#if (MMI != 0) +extern int r2d_is_running; +#endif + /*==== DEFINE =====================================================*/ @@ -1384,6 +1388,12 @@ #endif /* TI_PS_HCOMM_CHANGE */ +/* FreeCalypso addition to fix R2D start race condition */ +#if (MMI != 0) + if (!r2d_is_running) + return PEI_ERROR; +#endif + #ifdef DTI #ifdef _SIMULATION_ /*