summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/calypso
diff options
context:
space:
mode:
authorMychaela Falconia <falcon@freecalypso.org>2020-09-28 19:42:41 +0000
committerHarald Welte <laforge@osmocom.org>2020-10-01 01:48:43 +0200
commitb40188ce31f29e272836ab4b2b5c57070e5722e7 (patch)
treed37270c39a6d458d64afce3cd49bf42e61cc2e16 /src/target/firmware/calypso
parent7b2820526ab9ceafa9027f1b3a81f86c91837a2d (diff)
firmware: gtm900b: fix flash-based hardware variant autodetection
The original code used simplified logic whereby it assumed that Spansion flash means MG01GSMT and Samsung flash means MGCxGSMT. However, there exist MGC2GSMT hw variants with Spansion S71PL032J flash in them, thus it is necessary to check the complete device ID rather than just the flash manufacturer ID to distinguish between MG01GSMT with 8 MiB flash (S71PL064J) and MGCxGSMT with 4 MiB flash (S71PL032J, K5A3281CTM or K5L3316CAM). Distinguishing between 4 MiB and 8 MiB flash chip types is also necessary in order to configure TIFFS reader for the correct FFS location matching that used by the original firmware, which is in turn necessary in order to read factory RF calibration values. Closes: OS#4769 Change-Id: Iaa5bd295e9cbf6b525fa385f9d6cd7fcd7f8a4dd
Diffstat (limited to 'src/target/firmware/calypso')
0 files changed, 0 insertions, 0 deletions