FreeCalypso > hg > fc-magnetite
view blobs/patches/tpudrv-leonardo.patch @ 680:ee3ac8c617cb
armio.c: set GPIO2 output high initially
On TI-canonical platforms GPIO2 is DCD modem control output. In TI's
original code the AI_InitIOConfig() function called from Init_Target()
would configure GPIO2 as an output and set the initial output value to
low, but then the init code in uartfax.c called from Init_Serial_Flows()
would immediately change it to high, corresponding to DCD not asserted.
The result is a momentary asserted-state glitch on the DCD output.
The present change eliminates this glitch, setting DCD output to
not-asserted initially like it should be.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 25 Jun 2020 03:17:43 +0000 |
parents | 62a5285e014a |
children |
line wrap: on
line source
# Our version of TCS211 binary libs has been compiled for a triband # configuration that is a bastardized version of Leonardo quadband: # while the same 3 TSPACT lines are used for antenna switch control, # the correct line to be driven low for each band Rx & Tx operation # is different in every case. # # This change in band Rx & Tx signal assignments was made in tpudrv12.h # and got compiled into the tpudrv12 module in tpudrv.lib; the present # patch restores the original quadband configuration. [tpudrv12.obj] # Tx high or low band select .cinit 8A 12 .cinit 92 1C .cinit 9A 1C .cinit A2 12 .cinit AA 12 # Bring back GSM850 Rx switch instead of PCS Rx .cinit 98 16 .cinit A0 06