view src/gpf2/inc/ccd_codingtypes.h @ 673:62a5285e014a

Lorekeeping: allow tpudrv-leonardo.lib on Leonardo/Tango Back in 2015 the Mother's idea was to produce a FreeCalypso development board that would be a clone of TI Leonardo, including the original quadband RFFE; one major additional stipulation was that this board needed to be able to run original unmodified TCS211-20070608 firmware with all blobs intact, with only minimal binary patches to main.lib and tpudrv.lib. The necessary patched libs were produced at that time in the tcs211-patches repository. That plan was changed and we produced FCDEV3B instead, with Openmoko's triband RFFE instead of Leonardo quadband, but when FC Magnetite started in 2016, a TPUDRV_blob= provision was still made, allowing the possibility of patching OM's tpudrv.lib for a restored Leonardo RFFE. Now in 2020 we have FC Tango which is essentially a verbatim clone of Leonardo core, including the original quadband RFFE. We have also deblobbed our firmware so much that we have absolutely no real need for a blob version of tpudrv.lib - but I thought it would be neat to put the ancient TPUDRV_blob= mechanism (classic config) to its originally intended use, just for the heck of it.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 May 2020 03:55:36 +0000
parents 864b8cc0cf63
children
line wrap: on
line source

/* 
+----------------------------------------------------------------------------- 
|  Project :  
|  Modul   : ccd_codingtypes.h
+----------------------------------------------------------------------------- 
|  Copyright 2004 Texas Instruments Deutschland GmbH
|                 All rights reserved. 
| 
|                 This file is confidential and a trade secret of Texas 
|                 Instruments Deutschland GmbH 
|                 The receipt of or possession of this file does not convey 
|                 any rights to reproduce or disclose its contents or to 
|                 manufacture, use, or sell anything it may describe, in 
|                 whole, or in part, without the specific written consent of 
|                 Texas Instruments Deutschland GmbH. 
+----------------------------------------------------------------------------- 
|  Purpose :  Definition of constant numbers for coding types used by CCD and 
|             CCDDATA
+----------------------------------------------------------------------------- 
*/

#define MAX_CODEC_ID    0x2f

/*
 * These numbers refer to the place of each used en/decoding function 
 * in the codec table. The first entry is reserved for cdc_STD_encode and
 * cdc_STD_decode.
 */
#define CCDTYPE_GSM1_V                 0x1
#define CCDTYPE_GSM1_TV                0x2
#define CCDTYPE_GSM2_T                 0x3
#define CCDTYPE_GSM3_V                 0x4
#define CCDTYPE_GSM3_TV                0x5
#define CCDTYPE_GSM4_LV                0x6
#define CCDTYPE_GSM4_TLV               0x7
#define CCDTYPE_GSM5_V                 0x8
#define CCDTYPE_GSM5_TLV               0x9
#define CCDTYPE_GSM6_TLV               0xa
#define CCDTYPE_GSM7_LV                0xb
#define CCDTYPE_GSM1_ASN               0xc
#define CCDTYPE_BCDODD                 0xd
#define CCDTYPE_BCDEVEN                0xe
#define CCDTYPE_BCD_NOFILL             0xf
#define CCDTYPE_BCD_MNC                0x10
#define CCDTYPE_CSN1_S1                0x11
#define CCDTYPE_CSN1_SHL               0x12
#define CCDTYPE_S_PADDING              0x13
#define CCDTYPE_T30_IDENT              0x14
#define CCDTYPE_BITSTRING              0x15
#define CCDTYPE_ASN1_INTEGER           0x16
#define CCDTYPE_ASN1_SEQUENCE          0x17
#define CCDTYPE_ASN1_CHOICE            0x18
#define CCDTYPE_ASN1_OCTET             0x19
#define CCDTYPE_NO_CODE                0x1a
#define CCDTYPE_ASN1_INTEGER_EXTENSIBLE   0x1b
#define CCDTYPE_ASN1_SEQUENCE_EXTENSIBLE  0x1c
#define CCDTYPE_ASN1_CHOICE_EXTENSIBLE 0x1d
#define CCDTYPE_ASN1_OBJ_ID            0x1e
#define CCDTYPE_ASN1_OPEN_TYPE         0x1f
#define CCDTYPE_NONCRITICAL_EXT        0x20
#define CCDTYPE_CRITICAL_EXT           0x21
#define CCDTYPE_S_PADDING_0            0x22
#define CCDTYPE_CSN1_S0                0x23
#define CCDTYPE_HL_FLAG                0x24
#define CCDTYPE_FDD_CI                 0x25
#define CCDTYPE_TDD_CI                 0x26
#define CCDTYPE_FREQ_LIST              0x27
#define CCDTYPE_CSN1_CONCAT            0x28
#define CCDTYPE_BREAK_COND             0x29
#define CCDTYPE_GSM5_TV                0x2a
#define CCDTYPE_CSN1_CHOICE1           0x2b
#define CCDTYPE_CSN1_CHOICE2           0x2c
#define CCDTYPE_CSN1_SHL_OPT           0x2d
#define CCDTYPE_CSN1_S1_OPT            0x2e
#define CCDTYPE_CSN1_S0_OPT            0x2f