aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorVignesh Raghavendra <[email protected]>2020-01-08 10:43:43 +0530
committerMiquel Raynal <[email protected]>2020-01-17 22:44:49 +0100
commit440b6d50254bdbd84c2a665c7f53ec69dd741a4f (patch)
treed0ecbde1062ff2d389cf22c189a22f9f418a7089 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parentb3a987b0264d3ddbb24293ebff10eddfc472f653 (diff)
mtd: spi-nor: Fix selection of 4-byte addressing opcodes on Spansion
mtd->size is still unassigned when running spansion_post_sfdp_fixups() hook, therefore use nor->params.size to determine the size of flash device. This makes sure that 4-byte addressing opcodes are used on Spansion flashes that are larger than 16MiB and don't have SFDP 4BAIT table populated. Fixes: 92094ebc385e ("mtd: spi-nor: Add spansion_post_sfdp_fixups()") Signed-off-by: Vignesh Raghavendra <[email protected]> Reviewed-by: Tudor Ambarus <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions