summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAleksandr Mineev <sanderrrs@gmail.com>2026-07-17 18:50:50 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-08-07 15:54:21 +0200
commit8211f2d74b356a02fe38aeea5b74030ac156461f (patch)
treed23f07bfe4420fb9eef8096d9103810a507dd19f /scripts/Makefile.thinlto
parentf97bdc8ec1dc7b33781a702eeba55326c206be56 (diff)
downloadlinux-stable-8211f2d74b356a02fe38aeea5b74030ac156461f.tar.gz
linux-stable-8211f2d74b356a02fe38aeea5b74030ac156461f.zip
mtd: spinand: fmsh: fix FM25G01B/FM25G02B Quad I/O read dummy cycles
The FM25G01B/FM25G02B datasheets specify a single dummy byte for the 0xEB Quad I/O read-from-cache operation, but the generic read_cache_variants set uses two dummy bytes for the 1S-4S-4S variant. The extra dummy byte shifts the data phase and returns corrupted data with no ECC error, breaking boot on boards using these chips. Use a dedicated read-from-cache variant set with ndummy=1 for the 1S-4S-4S (0xEB) operation. FM25G01B datasheet: https://www.fmsh.com/nvm/FM25G01B_ds_eng.pdf FM25G02B datasheet: https://www.fmsh.com/nvm/FM25G02B_ds_eng.pdf Fixes: d5a5c9eb2ee9 ("mtd: spinand: fmsh: add support for FM25G{01,02}B") Cc: stable@vger.kernel.org Signed-off-by: Aleksandr Mineev <sanderrrs@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions