view blobs/patches/main-rvtmodem.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 8dd671b7d41e
children
line wrap: on
line source

# This patch applies to the appli_ser_cfg_info initialized data object in the
# init.obj module in main.lib; here we change the default serial configuration
# from RVTMUX on IrDA and F&D on MODEM to RVTMUX on MODEM, nothing on IrDA,
# no F&D available.  This patch will be used as part of the attempt to port
# TCS211 to Mot C139.

[init.obj]

.cinit 8 48
.cinit 9 02