FreeCalypso > hg > fc-magnetite
annotate cfg-headers/rv_swe-2091-pwr.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 | 05aa9659f6d6 |
children |
rev | line source |
---|---|
150
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 #ifndef __RV_SWE_H__ |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 #define __RV_SWE_H__ |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 #define RVM_AUDIO_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 #define RVM_ETM_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 #define RVM_DAR_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 #define RVM_SPI_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 #define RVM_LLS_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 #define RVM_KPD_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 #define RVM_PWR_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 #define RVM_RTC_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 #define RVM_FFS_SWE |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
05aa9659f6d6
cfg-headers/rv_swe-209[12]-pwr.h: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 #endif /* __RV_SWE_H__ */ |