changeset 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 31d2824683cb
children 026c98f757a6
files src/cs/drivers/drv_app/ffs/board/dev.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 *******************************************/