changeset 612:0a845c97b8b4

C1xx aftermarket FFS: add ST equivalent of 28F320C3T
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 18 Jun 2019 04:59:58 +0000
parents b9ad7bd63f59
children 6f0874b00973
files src/cs/drivers/drv_app/ffs/board/dev.c
diffstat 1 files changed, 5 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/ffs/board/dev.c	Mon Jun 17 22:29:38 2019 +0000
+++ b/src/cs/drivers/drv_app/ffs/board/dev.c	Tue Jun 18 04:59:58 2019 +0000
@@ -428,14 +428,7 @@
     { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_INTEL,   0x88C2,
       FFS_DRIVER_INTEL_SB,  3 },
 
-    /*
-     * A user in the field found that some Mot C11x phones have 2 MiB
-     * of flash, but use some different flash chip, not our familiar
-     * 28F160C3-T.  This chip reports manufacturer ID 0x20 and device
-     * ID 0x88CE, but the CFI structure lists the same sector geometry
-     * as our familiar 28F160C3-T.  Let's treat this mystery flash chip
-     * as equivalent to our familiar one.
-     */
+    /* ST equivalent of 28F160C3T found in some Mot C11x phones */
     { &flash_16x64[0], (char *) 0x1C0000,           0x20,   0x88CE,
       FFS_DRIVER_INTEL_SB,  3 },
 
@@ -444,6 +437,10 @@
     { &flash_16x64[0], (char *) 0x3C0000, MANUFACT_INTEL,   0x88C4,
       FFS_DRIVER_INTEL_SB,  3 },
 
+    /* ST equivalent of 28F320C3T found in some Mot C139 phones */
+    { &flash_16x64[0], (char *) 0x3C0000,           0x20,   0x88BA,
+      FFS_DRIVER_INTEL_SB,  3 },
+
     // Intel 28F640C3-B, 64Mb. Using top-most 16x64kB sectors
     // Changed for C155 aftermarket FFS config: 64x13 at 0x700000
     { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL,   0x88CD,