FreeCalypso > hg > tcs211-patches
changeset 7:5a6f608173c4
first patch implemented: tpudrv-quadband
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 06 Jun 2015 05:16:19 +0000 |
parents | 87e9f30f5f86 |
children | 04fd47d382c7 |
files | .hgignore patches/Makefile patches/tpudrv-quadband.patch |
diffstat | 3 files changed, 34 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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$
--- /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
--- /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