# HG changeset patch # User Mychaela Falconia # Date 1580406348 0 # Node ID cab2f315827e584db2f02d1455bb36446364b022 # Parent 31d2824683cb61dd66e0f62d8d0d47a9bd5f4597 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. diff -r 31d2824683cb -r cab2f315827e src/cs/drivers/drv_app/ffs/board/dev.c --- a/src/cs/drivers/drv_app/ffs/board/dev.c Thu Jan 30 01:30:08 2020 +0000 +++ b/src/cs/drivers/drv_app/ffs/board/dev.c Thu Jan 30 17:45:48 2020 +0000 @@ -492,6 +492,12 @@ { &flash_16x64[0], (char *) 0x100000, MANUFACT_AMD, 0x2233, FFS_DRIVER_AMD, 15 }, + /* newer Spansion devices in AMD ID code space */ + + // Spansion S29/S71PL032J. Ignoring the 8kB sectors + // Multi-id device: 0x227E, 0x220A, 0x2201. Converted to 0x0A01 + { &flash_16x64[0], (char *) 0x380000, MANUFACT_AMD, 0x0A01, + FFS_DRIVER_AMD, 7 }, /********** Fujitsu Devices *******************************************/