# HG changeset patch # User Space Falcon # Date 1433567779 0 # Node ID 5a6f608173c43d0bc1acfd7bd498a959fc26595c # Parent 87e9f30f5f865e0af0e133f87fb7279879de7202 first patch implemented: tpudrv-quadband diff -r 87e9f30f5f86 -r 5a6f608173c4 .hgignore --- a/.hgignore Sat Jun 06 04:51:15 2015 +0000 +++ b/.hgignore Sat Jun 06 05:16:19 2015 +0000 @@ -1,4 +1,6 @@ syntax: regexp +^patches/.*\.lib$ + ^tool/.*\.o$ ^tool/ti-libpatch$ diff -r 87e9f30f5f86 -r 5a6f608173c4 patches/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/Makefile Sat Jun 06 05:16:19 2015 +0000 @@ -0,0 +1,8 @@ +NEWLIBS=tpudrv-quadband.lib +TOOL= ../tool/ti-libpatch + +tpudrv-quadband.lib: ../libs/tpudrv.lib tpudrv-quadband.patch + ${TOOL} ../libs/tpudrv.lib tpudrv-quadband.patch $@ + +clean: + rm -f *.lib diff -r 87e9f30f5f86 -r 5a6f608173c4 patches/tpudrv-quadband.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/tpudrv-quadband.patch Sat Jun 06 05:16:19 2015 +0000 @@ -0,0 +1,24 @@ +# Our version of TCS211 binary libs has been compiled for a triband +# configuration that is a bastardized version of Leonardo quadband: +# while the same 3 TSPACT lines are used for antenna switch control, +# the correct line to be driven low for each band Rx & Tx operation +# is different in every case. +# +# This change in band Rx & Tx signal assignments was made in tpudrv12.h +# and got compiled into the tpudrv12 module in tpudrv.lib; the present +# patch restores the original quadband configuration. + +[tpudrv12.obj] + +# Tx high or low band select + +.cinit 8A 12 +.cinit 92 1C +.cinit 9A 1C +.cinit A2 12 +.cinit AA 12 + +# Bring back GSM850 Rx switch instead of PCS Rx + +.cinit 98 16 +.cinit A0 06