summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPratyush Yadav <p.yadav@ti.com>2020-05-25 14:45:31 +0530
committerTudor Ambarus <tudor.ambarus@microchip.com>2020-05-30 20:22:49 +0300
commitf9acd7fa80be6ee14aecdc54429f2a48e56224e8 (patch)
tree67ee20e2ffc0b551c2f8a1a3bc8ba87d92030da3 /tools/perf/scripts/python/export-to-sqlite.py
parent8a2644d5f3608822925c9204a3d19a8e3025fd4a (diff)
mtd: spi-nor: sfdp: default to addr_width of 3 for configurable widths
JESD216D.01 says that when the address width can be 3 or 4, it defaults to 3 and enters 4-byte mode when given the appropriate command. So, when we see a configurable width, default to 3 and let flash that default to 4 change it in a post-bfpt fixup. This fixes SMPT parsing for flashes with configurable address width. If the SMPT descriptor advertises variable address width, we use nor->addr_width as the address width. But since it was not set to any value from the SFDP table, the read command uses an address width of 0, resulting in an incorrect read being issued. Signed-off-by: Pratyush Yadav <p.yadav@ti.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions