FreeCalypso > hg > fc-tourmaline
view cdg-hybrid/fflags.h @ 223:740a8e8fc9d7
startup sync logic rework for the new PWON button boot scheme
Previously we added logic to the MMI task to hold off PEI init until
R2D is running, and then extended that condition to wait for FCHG
init too. However, the dependencies of MMI upon R2D and FCHG don't
start until mmiInit(), and that call is driven by Switch_ON() code,
hence the wait for R2D and FCHG init can be made in that code path
instead of the MMI task. Furthermore, with our new way of signaling
PWON button boot to MMI, we need a new wait to ensure that the MMI
task is up - previously this assurance was provided by the wait for
Kp pointers to be set.
Solution: revert our previous PEI init hold-off additions to MMI,
add a new flag indicating MMI task init done, and put the combined
wait for all needed conditions into our new PWON button boot code
in power.c.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 27 Apr 2021 06:24:52 +0000 |
parents | 35f7a1dc9f7d |
children |
line wrap: on
line source
/* * This version of fflags.h (ccdgen config file) is a FreeCalypso concoction. * Here I set all feature flags to OFF in order to create a configuration * that mimics the TCS211 program. */ #undef FF_PS_RSSI #undef SIM_PERS #undef FF_PHONE_LOCK #undef TI_PS_FF_AT_CMD_P_ECC #undef TI_PS_FF_REL99_AND_ABOVE #undef TI_DUAL_MODE #undef REL99 #undef FF_BHO #undef TI_PS_FF_EMR #undef TI_PS_FF_RTD #undef FF_EGPRS #undef REL4 #undef TI_PS_FF_TBF_EST_PACCH #undef TI_PS_FF_QUAD_BAND_SUPPORT