diff options
author | Sergei Shtylyov <[email protected]> | 2020-04-20 22:13:58 +0300 |
---|---|---|
committer | Tudor Ambarus <[email protected]> | 2020-05-28 10:00:49 +0300 |
commit | 5587fa489747a8e6cbd0558890458c862b797485 (patch) | |
tree | 3b543d8d47037d453fe749786abac27b5496f6c4 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | b8469159632818064084397a010f34e156a393db (diff) |
mtd: spi-nor: spansion: fix writes on S25FS512S
Spansion S25FS-S family has an issue in the Basic Flash Parameter Table
(BFPT): Dword-11 bits 7:4 specify a page size of 512 bytes. Actually
this is configurable in the vendor unique register (CR3V) and even the
factory default setting is to "wrap at 256 bytes", so blindly relying
on BFPT breaks the page writes on these chips. Add the post-BFPT fixup
which restores the default page size of 256 bytes -- to properly read
CR3V this early is quite intrusive and should better be done as a new
feature; Alexander Sverdlin had the patch doing that:
https://patchwork.ozlabs.org/project/linux-mtd/patch/[email protected]/
Fixes: dfd2b74530e ("mtd: spi-nor: add Spansion S25FS512S ID")
Signed-off-by: Sergei Shtylyov <[email protected]>
Reviewed-by: Alexander Sverdlin <[email protected]>
Tested-by: Kuldeep Singh <[email protected]>
Signed-off-by: Tudor Ambarus <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions