FreeCalypso > hg > freecalypso-sw
diff gsm-fw/L1/tpudrv/tpudrv12.c @ 930:5a826938d005
gsm-fw: experimental support for Compal targets in tpudrv12.[ch]
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 31 Oct 2015 02:09:48 +0000 |
parents | a714522c925b |
children |
line wrap: on
line diff
--- a/gsm-fw/L1/tpudrv/tpudrv12.c Sat Oct 24 06:54:08 2015 +0000 +++ b/gsm-fw/L1/tpudrv/tpudrv12.c Sat Oct 31 02:09:48 2015 +0000 @@ -15,8 +15,8 @@ * tweaking it to match the disassembly of the reference binary object * named above. * - * The ugly hacks to support Pirelli DP-L10 in addition to classic - * TI/Openmoko target devices are original to FreeCalypso. + * The ugly hacks to support Compal and Pirelli targets in addition to + * classic TI/Openmoko ones are original to FreeCalypso. */ #define TPUDRV12_C @@ -169,7 +169,7 @@ T_TX_RX tx_rx[2]; }; -#if CONFIG_TARGET_PIRELLI +#if CONFIG_TARGET_COMPAL || CONFIG_TARGET_PIRELLI typedef UWORD16 T_RXTX_UPDOWN; #else typedef UWORD8 T_RXTX_UPDOWN; @@ -580,7 +580,7 @@ *TP_Ptr++ = TPU_FAT(0x1384); TSP_TO_ABB(0xA0); *TP_Ptr++ = TPU_FAT(16); -#if CONFIG_TARGET_PIRELLI +#if CONFIG_TARGET_COMPAL || CONFIG_TARGET_PIRELLI *TP_Ptr++ = TPU_MOVE(TSP_ACT, rf_path[rf_index].tx_up & 0xFF | RF_SER_ON); *TP_Ptr++ = TPU_MOVE(TSP_ACTX, rf_path[rf_index].tx_up >> 8);