FreeCalypso > hg > fc-magnetite
view src/gpf3/inc/tools.h @ 638:cab2f315827e
FFS dev.c: added Spansion PL032J to the "generic" table
With the discovery of first GTM900 and then Tango, it now appears that
Openmoko was not the only manuf after all who kept TI's TCS211 firmware
largely intact (as opposed to changing it beyond all recognition like
Compal, Chi-Mei and BenQ did), thus we are now getting new "alien" targets
on which we reuse the original manuf's FFS with IMEI and RF calibration
tables as if it were native. On these targets we use the original
device table for FFS, even though we previously thought that it would
never apply to any target other than dsample, leonardo and gtamodem.
We have previously added Samsung K5L33xxCAM (a new kind of multi-ID device)
to the generic table to support its use in Huawei GTM900-B modules; now
we got news that some slightly older GTM900-B specimen used S71PL032J
instead, so we are now adding PL032J as well.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 30 Jan 2020 17:45:48 +0000 |
parents | c41a534f33c6 |
children |
line wrap: on
line source
/* +------------------------------------------------------------------------------ | File: tools.h +------------------------------------------------------------------------------ | Copyright 2002 Texas Instruments Berlin, AG | All rights reserved. | | This file is confidential and a trade secret of Texas | Instruments Berlin, AG | 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 Berlin, AG. +----------------------------------------------------------------------------- | Purpose : Definitions and prototypes. +----------------------------------------------------------------------------- */ #ifndef __TOOLS_H__ #define __TOOLS_H__ /*==== INCLUDES =============================================================*/ /*==== CONSTS ===============================================================*/ #define CHARS_FOR_8BIT 2 #define CHARS_FOR_16BIT 4 #define CHARS_FOR_32BIT 8 /*==== TYPES ================================================================*/ /*==== PROTOTYPES ===========================================================*/ unsigned int GetNextToken (char *source, char *token, char const *seperators); char *HexToASCII (ULONG value, char *ptr, int num); unsigned int ASCIIToHex (char *p, int num); char* InsertString (char *string, char *p, int num); char *rm_path ( const char *file ); #endif