diff options
author | Takahiro Kuwano <Takahiro.Kuwano@infineon.com> | 2024-10-16 03:08:37 +0300 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@linaro.org> | 2024-10-29 11:23:00 +0300 |
commit | b61c35e3404557779ec427c077f7a9f057bb053d (patch) | |
tree | 6e7b4e48d5748cca1f1778217f02d6f3d3883fc9 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | afe1ea1344bbd3a40be5a2547ff1b13899c5a7fa (diff) | |
download | linux-b61c35e3404557779ec427c077f7a9f057bb053d.tar.xz |
mtd: spi-nor: spansion: Use nor->addr_nbytes in octal DTR mode in RD_ANY_REG_OP
In octal DTR mode, RD_ANY_REG_OP needs to use 4-byte address regardless
of flash's internal address mode. Use nor->addr_nbytes which is set to 4
during setup.
Fixes: eff9604390d6 ("mtd: spi-nor: spansion: add octal DTR support in RD_ANY_REG_OP")
Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Link: https://lore.kernel.org/r/20241016000837.17951-1-Takahiro.Kuwano@infineon.com
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions