comparison src/cs/drivers/drv_app/ffs/board/dev.c @ 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 de936aea260a
children 012028896cfb
comparison
equal deleted inserted replaced
611:b9ad7bd63f59 612:0a845c97b8b4
426 // Intel 28F160C3-T 16Mb. Using top-most 8x8kB (parameter) sectors. 426 // Intel 28F160C3-T 16Mb. Using top-most 8x8kB (parameter) sectors.
427 // Changed for C11x aftermarket FFS config: 64x3 at 0x1C0000 427 // Changed for C11x aftermarket FFS config: 64x3 at 0x1C0000
428 { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_INTEL, 0x88C2, 428 { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_INTEL, 0x88C2,
429 FFS_DRIVER_INTEL_SB, 3 }, 429 FFS_DRIVER_INTEL_SB, 3 },
430 430
431 /* 431 /* ST equivalent of 28F160C3T found in some Mot C11x phones */
432 * A user in the field found that some Mot C11x phones have 2 MiB
433 * of flash, but use some different flash chip, not our familiar
434 * 28F160C3-T. This chip reports manufacturer ID 0x20 and device
435 * ID 0x88CE, but the CFI structure lists the same sector geometry
436 * as our familiar 28F160C3-T. Let's treat this mystery flash chip
437 * as equivalent to our familiar one.
438 */
439 { &flash_16x64[0], (char *) 0x1C0000, 0x20, 0x88CE, 432 { &flash_16x64[0], (char *) 0x1C0000, 0x20, 0x88CE,
440 FFS_DRIVER_INTEL_SB, 3 }, 433 FFS_DRIVER_INTEL_SB, 3 },
441 434
442 // Intel 28F320C3-T, 32Mb. Using top-most 8x8kB (parameter) sectors. 435 // Intel 28F320C3-T, 32Mb. Using top-most 8x8kB (parameter) sectors.
443 // Changed for C139 aftermarket FFS config: 64x3 at 0x3C0000 436 // Changed for C139 aftermarket FFS config: 64x3 at 0x3C0000
444 { &flash_16x64[0], (char *) 0x3C0000, MANUFACT_INTEL, 0x88C4, 437 { &flash_16x64[0], (char *) 0x3C0000, MANUFACT_INTEL, 0x88C4,
438 FFS_DRIVER_INTEL_SB, 3 },
439
440 /* ST equivalent of 28F320C3T found in some Mot C139 phones */
441 { &flash_16x64[0], (char *) 0x3C0000, 0x20, 0x88BA,
445 FFS_DRIVER_INTEL_SB, 3 }, 442 FFS_DRIVER_INTEL_SB, 3 },
446 443
447 // Intel 28F640C3-B, 64Mb. Using top-most 16x64kB sectors 444 // Intel 28F640C3-B, 64Mb. Using top-most 16x64kB sectors
448 // Changed for C155 aftermarket FFS config: 64x13 at 0x700000 445 // Changed for C155 aftermarket FFS config: 64x13 at 0x700000
449 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x88CD, 446 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x88CD,