FreeCalypso > hg > fc-magnetite
view fcdev3b-hacks/romvecs.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 | 8d9298e0823a |
children |
line wrap: on
line source
2000: 00 00 00 00 2004: 00 21 00 00 2100: 0C 00 8F E2 2104: FE 00 90 E8 2108: 02 05 A0 E3 210C: FE 00 80 E8 2110: 18 F0 9F E5 2114: 00 40 00 00 2118: 04 40 00 00 211C: 08 40 00 00 2120: 0C 40 00 00 2124: 10 40 00 00 2128: 14 40 00 00 212C: 18 40 00 00 2130: 58 40 00 00