FreeCalypso > hg > fc-magnetite
annotate cfg-headers/rv_swe-2092.h @ 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 | fd8227e3047d |
children |
rev | line source |
---|---|
114
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 #ifndef __RV_SWE_H__ |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 #define __RV_SWE_H__ |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 #define RVM_ATP_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 #define RVM_AUDIO_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 #define RVM_ETM_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 #define RVM_DAR_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 #define RVM_SPI_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 #define RVM_LLS_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 #define RVM_KPD_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 #define RVM_LCC_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 #define RVM_R2D_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 #define RVM_MKS_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 #define RVM_RTC_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 #define RVM_FFS_SWE |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
3454a514891b
cfg-headers/2092 added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 #endif /* __RV_SWE_H__ */ |