changeset 609:238b67a785f2

init.c: DSR_MODEM/LPG is LPG on the GTM900
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 17 Jun 2019 21:25:46 +0000
parents c09a1ca60d57
children 0cbe7438f974
files src/cs/system/main/init.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/system/main/init.c	Mon Jun 17 21:18:10 2019 +0000
+++ b/src/cs/system/main/init.c	Mon Jun 17 21:25:46 2019 +0000
@@ -362,12 +362,14 @@
              * DSR_MODEM pin.
              */
             *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6050;
-          #elif defined(CONFIG_TARGET_GTAMODEM)
+          #elif defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_GTM900)
             /*
              * The DSR_MODEM/LPG Calypso signal is unconnected on
              * Openmoko's modem, so let's mux it as LPG (output)
              * so it doesn't float, like Foxconn seem to have done
              * on the Pirelli.
+             *
+             * On the GTM900 module this signal is explicitly defined as LPG.
              */
             *((volatile SYS_UWORD16 *) ASIC_CONF) = 0x6040;
           #else