diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-07-28 07:14:51 +0300 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-10-25 05:11:35 +0300 |
commit | 2fe99a867050bc3506a4595acc01375a48a1b87e (patch) | |
tree | 83c878e4e3cc2b1bed6d44f533955cea1d3016cb /tools/perf/scripts/python/check-perf-trace.py | |
parent | 05ebc1ccb8affcbaaa9f8b8fe56839cbfc9b9144 (diff) |
mtd: spi-nor: micron-st.c: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
We track in the core the internal address mode of the flash. Stop using
hardcoded values for the number of bytes of address and use
nor->addr_nbytes and nor->params->addr_mode_nbytes instead.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20220728041451.85559-3-tudor.ambarus@microchip.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions