FreeCalypso > hg > fc-tourmaline
changeset 48:06a52f3fcec9
C139 target: new aftermarket FFS config
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 18 Oct 2020 02:18:11 +0000 |
parents | 502a0a3f6a49 |
children | 4e178a0e90f6 |
files | src/cs/drivers/drv_app/ffs/board/dev.c src/cs/system/template/gsm_ds_motc139.template |
diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/ffs/board/dev.c Sun Oct 18 02:03:10 2020 +0000 +++ b/src/cs/drivers/drv_app/ffs/board/dev.c Sun Oct 18 02:18:11 2020 +0000 @@ -443,13 +443,13 @@ FFS_DRIVER_INTEL_SB, 3 }, // Intel 28F320C3-T, 32Mb. Using top-most 8x8kB (parameter) sectors. - // Changed for C139 aftermarket FFS config: 64x3 at 0x3C0000 - { &flash_16x64[0], (char *) 0x3C0000, MANUFACT_INTEL, 0x88C4, - FFS_DRIVER_INTEL_SB, 3 }, + // Changed for C139 aftermarket FFS config: 64x7 at 0x300000 + { &flash_16x64[0], (char *) 0x300000, MANUFACT_INTEL, 0x88C4, + FFS_DRIVER_INTEL_SB, 7 }, /* ST equivalent of 28F320C3T found in some Mot C139 phones */ - { &flash_16x64[0], (char *) 0x3C0000, 0x20, 0x88BA, - FFS_DRIVER_INTEL_SB, 3 }, + { &flash_16x64[0], (char *) 0x300000, 0x20, 0x88BA, + FFS_DRIVER_INTEL_SB, 7 }, // Intel 28F640C3-B, 64Mb. Using top-most 16x64kB sectors // Changed for C155 aftermarket FFS config: 64x13 at 0x700000
--- a/src/cs/system/template/gsm_ds_motc139.template Sun Oct 18 02:03:10 2020 +0000 +++ b/src/cs/system/template/gsm_ds_motc139.template Sun Oct 18 02:18:11 2020 +0000 @@ -32,10 +32,10 @@ /* Program Memory */ P_MEM1 (RXI) : org = 0x00010000 len = 0x00000700 P_MEM2 (RXI) : org = 0x00010700 len = 0x00000004 - P_MEM3 (RXI) : org = 0x00010704 len = 0x003af8fc + P_MEM3 (RXI) : org = 0x00010704 len = 0x002ef8fc /* FFS Area */ - FFS_MEM (RX) : org = 0x003C0000 len = 0x00030000 + FFS_MEM (RX) : org = 0x00300000 len = 0x00070000 /**************************************************************************/ /* CS1: External SRAM 1 Mbytes ********************************************/